Error:Cause: com.android.sdklib.repository.FullRevision

ligi picture ligi · Nov 23, 2015 · Viewed 14.2k times · Source

I wanted to try instant-run from AS 2.0 - for this to work I had to update to build-plugin to 2.0.0-alpha1 - but when doing this I cannot gradle-sync the project anymore as I am getting:

Gradle 'SCR' project refresh failed
  Error:Cause: com.android.sdklib.repository.FullRevision

Anyone knows the reason/workaround for this?

Answer

FallasB picture FallasB · Nov 24, 2015

In case you want to keep the SDK Manager plugin, you can get the fixed committed version with :

repositories {
    maven { url 'https://jitpack.io' }
}

classpath 'com.github.JakeWharton:sdk-manager-plugin:220bf7a88a7072df3ed16dc8466fb144f2817070'

Not ideal though!