Bugdr0id Bugdr0id - 1 year ago 126
Android Question

Android peer not authenticated

Everything has been working, only today i started to get an error message, and i can't even "Sync Project with Gradle files" from Android Studio. The only thing i have changed was ... the office :D

Error:A problem occurred configuring project ':app'.
Could not download library.jar (com.mcxiaoke.volley:library:1.0.16)
Could not GET 'https://jcenter.bintray.com/com/mcxiaoke/volley/library/1.0.16/library-1.0.16.jar'.
peer not authenticated

And my build.grade

buildscript {
repositories {
maven { url 'http://download.crashlytics.com/maven'}
maven { url 'http://dl.bintray.com/amulyakhare/maven'}

dependencies {
classpath 'com.crashlytics.tools.gradle:crashlytics-gradle:1.+'



I also tried with http instead of https, but still the same problem.

Does anyone have similar problem?

Answer Source

Temporary solution

Add this to build.gradle

repositories {
    maven {
        name "jcenter"
        url "http://jcenter.bintray.com/"
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download