Received status code 407 from server: Proxy Authentication Required


(Issa Nasralli) #1

Hello!!
please help me :my gradle project sync failed:

  1. My setting

  2. My code of build.gradle :

    apply plugin: ‘com.android.application’

    android {
    compileSdkVersion 28
    defaultConfig {

    applicationId “tn.tunisapp.rawabimobile”
    minSdkVersion 15
    targetSdkVersion 28
    versionCode 1
    versionName “1.0”
    testInstrumentationRunner “android.support.test.runner.AndroidJUnitRunner”
    systemProp.http.proxyHost=172.16.0.1
    systemProp.http.proxyPort=3128
    systemProp.http.proxyUser=08596585
    systemProp.http.proxyPassword=Ym47Ar
    systemProp.http.auth.ntlm.domain=172.16.0.1

    systemProp.https.proxyHost=172.16.0.1
    systemProp.https.proxyPort=3128
    systemProp.https.proxyUser=08596585
    systemProp.https.proxyPassword=Ym47Ar
    systemProp.https.auth.ntlm.domain=172.16.0.1

    }
    buildTypes {
    release {
    minifyEnabled false
    proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.pro’
    }
    }
    }

    dependencies {
    implementation fileTree(dir: ‘libs’, include: [’*.jar’])
    implementation ‘com.android.support:appcompat-v7:28.0.0-rc02’
    implementation ‘com.android.support.constraint:constraint-layout:1.1.2’
    testImplementation ‘junit:junit:4.12’
    androidTestImplementation ‘com.android.support.test:runner:1.0.2’
    androidTestImplementation ‘com.android.support.test.espresso:espresso-core:3.0.2’
    }

  3. Result after make project ctrl+F9:
    Executing tasks: [assemble]

    Configuration on demand is an incubating feature.

    FAILURE: Build failed with an exception.