Workaround:
Find the outermost build.gradle file of the project, which will include:
dependencies {
Classpath ' com.android.tools.build:gradle:1.2.3 '
}
Modified to:
dependencies { ' com.android.tools.build:gradle:1.3.0 '}
It's all right!
If not, you can change the Jcenter () in this file to:
Jcenter {
URL "http://jcenter.bintray.com/"
}
Add: If you want to modify the version of Gradle in the project, it is not possible to see the following:
In the project settings:
You can see that this version is the version of the project build, which corresponds to the wrapper under the project root Gradle folder:
Summary: If you modify the Gradle version, you can change the settings directly in the project, and the wrapper in the root directory will be verified.
Reference Link: http://stackoverflow.com/questions/26734738/android-studio-gradle-build-failed-errorcause-peer-not-authenticated
Androidstudio 1.4 After upgrading to 1.5, peer not authenticated error