错误:原因:com.android.sdklib.repository.FullRevision [英] Error:Cause: com.android.sdklib.repository.FullRevision

查看:34
本文介绍了错误:原因:com.android.sdklib.repository.FullRevision的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想尝试从 AS 2.0 即时运行 - 为此,我必须将 build-plugin 更新为 2.0.0-alpha1 - 但是这样做时,我无法对项目进行 gradle-sync ,因为我得到了:

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?

推荐答案

为任何人提供相同情况的快速解答:

Quick answer for anyone in the same situation:

这是 Jake Wharton 的 SDK 管理器插件.

It's Jake Wharton's SDK Manager plugin.

已修复:https://github.com/JakeWharton/sdk-manager-plugin/pull/100.

正如你们中的一些人所指出的,自最新版本发布以来已经有一段时间了,因此您可能想要使用以下答案中提供的 jitpack.io 解决方法

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)

这篇关于错误:原因:com.android.sdklib.repository.FullRevision的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆