Tuesday, 16 June 2015

Error Solving time - Android Studio - peer not authenticated

I had earlier worked on a studio project in a different machine, and after a while I thought of doing some modifications. Thankfully, I had a back up and I tried to open that project in studio in my new machine. It came up with the following error after the gradle build:

peer not authenticated

Here isthe solution, try changing the your root build.gradle's repository block as follows

repositories {
    jcenter {
        url "http://jcenter.bintray.com/"    }
}

repositories {
    maven {
        url "http://repo1.maven.org/maven2"    }
}

and rebuild your project, hopefully your error might be gone.
Happy coding :)

No comments:

Post a Comment