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

你。 提交于 2019-12-03 18:28:12

问题


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?


回答1:


Quick answer for anyone in the same situation:

It's Jake Wharton's SDK Manager plugin.

Already fixed: https://github.com/JakeWharton/sdk-manager-plugin/pull/100.

As some of you pointed out, it's been a while since the latest release, so you might want to use the jitpack.io workaround provided in the answer below

(https://stackoverflow.com/a/33889117/1673540)




回答2:


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!



来源:https://stackoverflow.com/questions/33881984/errorcause-com-android-sdklib-repository-fullrevision

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!