Android插件1.3错误 [英] Android plugin 1.3 error

查看:200
本文介绍了Android插件1.3错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我得到的时候更新我的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终于发布了:<一href="https://jcenter.bintray.com/com/android/tools/build/gradle/1.3.0/">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/

这篇关于Android插件1.3错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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