Android插件1.3错误插件、错误、Android

由网友(以爱之名)分享简介:这是我得到的时候更新我的SDK和编译工具出错的 Android的中号 This is error I got when updated my SDK and Build tool to Android MAndroid Build ToolsFound incompatible Build Tools and A...

这是我得到的时候更新我的SDK和编译工具出错的 Android的中号

This is error I got when updated my SDK and Build tool to Android M

Android Build Tools
Found incompatible Build Tools and Android plugin versions:
* Module 'app' is using Android plugin 1.2.3 and Build Tools 23.0.0 rc1
Please use Android plugin 1.3 or newer, or an older Build Tools version.
Otherwise the project won't build.

在类路径com.android.tools.build:gradle:1.2.3 改为 1.3

我得到了另一个错误。

Error:Could not find com.android.tools.build:gradle:1.3.
Searched in the following locations:
    file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/android/tools/build/gradle/1.3/gradle-1.3.pom
    file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/android/tools/build/gradle/1.3/gradle-1.3.jar
    https://jcenter.bintray.com/com/android/tools/build/gradle/1.3/gradle-1.3.pom
    https://jcenter.bintray.com/com/android/tools/build/gradle/1.3/gradle-1.3.jar

我应该怎么做呢?

What should I do now ?

推荐答案

的是因为当时Android的摇篮插件1.3也尚未公布。这是在测试阶段。

The was because at that time android gradle plugin 1.3 had not been released yet. It was in beta.

所以,尽量的版本设置为 1.3.0-β1

So, try setting the version to 1.3.0-beta1.

您可以看到所有的Andr​​oid级插件版本列表这里。临提示:滚动一路下跌至底部,以便更容易地看到最新的版本。 :)

You can see the list of all the android grade plugin versions here. Pro tip: scroll all the way down to the bottom so it's easier to see the latest version. :)

更新

Android的摇篮插件1.3终于发布了:https://jcenter.bintray.com/com/android/tools/build/gradle/1.3.0/

Android gradle plugin 1.3 is finally released: https://jcenter.bintray.com/com/android/tools/build/gradle/1.3.0/

阅读全文

相关推荐

最新文章