. Advertisement .
..3..
. Advertisement .
..4..
How to solve the problem – could not resolve all artifacts for configuration classpath? I have the sample detail:
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.13.0'
classpath fileTree(dir: 'build-libs', include: '*.jar')
}
}
allprojects {
repositories {
mavenCentral()
}
}
While I was running it, I found the warning message:
Could not HEAD 'https://repo1.maven.org/maven2/com/android/tools/build/gradle/0.13.0/gradle-0.13.0.pom'.
peer not authenticated
That is my question in my midterm exam, and it is urgent. I searched the solutions on some websites, but I didn’t get it. I may miss any line or other changes. I appreciate your assistance!
proxyPort
from 8080 to jcenter and useing Maven instead of Maven. However, I had to test to use HTTPS instead of HTTPS. This is the build.gradle to build script and allprojects.The date of udating: 06/08
by
Locate and replace:
to: