0

error message on launching android studio

using "android-studio-2.1"

Everytime error message pops up on launching android studio but after restarting pc android studio opens up showing "gradle sync failed... protocol family unavailable"

Vishal
  • 71
  • 1
  • 3
  • Possible duplicate of http://stackoverflow.com/questions/29323700/android-studio-gradle-error-protocol-family-unavailable or several other questions -- if you searched the site before asking, let us know what didn't work. – Noumenon Jun 26 '16 at 17:26
  • What android studio version are you using? "android-studio-bundle-143.2915827-windows" isn't a version, it's the installer name. – Ali Bdeir Jun 27 '16 at 11:25

1 Answers1

0

Ok that was proxifier issue. Turning off the proxifier worked but now it is showing error "failed to resolve junit:junit4.12". I have tried uninstalling & installing, deleting .gradle folder and even adding these lines of code ...

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

but it didn't worked

Vishal
  • 71
  • 1
  • 3