I have updated android studio 2.2.2 recently. Now i got connection reset error when i check sdks and adding dependency to build.gradle. I have no idea about this. guide me to remove this error.
Try adding mavenCentral() inside the buildscript.repositories enclosure, like so. put error log for eject answer
buildscript {
repositories {
jcenter()
mavenCentral() // This repo should have the gradle plugin
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With