更新的Andr​​oid内置的工具为18.0 [英] Update Android built tool To 18.0

查看:176
本文介绍了更新的Andr​​oid内置的工具为18.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以前用Android的内置工具17来构建一个项目,我现在已经更新到18.0的工具,现在我改变build.gradle:

I used to use Android Built-Tools 17 to build a project, now the tools I have updated to 18.0, Now I change build.gradle :

android {
    compileSdkVersion 18
    buildToolsVersion "18.0.1"
}

当我运行这个,这是错误的,摇篮:执行失败的任务:HandyHis:compileDebugAidl。

when I run this, it was wrong, Gradle: Execution failed for task ':HandyHis:compileDebugAidl'.

未能找到生成工具版本18.0.0

failed to find Build Tools revision 18.0.0

我应该怎么办?

推荐答案

期待中的SDK管理器什么是你最大的Andr​​oid SDK内建工具版本,在Android复制项目中的build.gradle文件,此版本号/ buildToolsversion财产(对我来说,版本是18.1.1)。

Look in the SDK Manager what is your highest Android SDK Build-tools version, and copy this version number in your project "build.gradle" file in the android/buildToolsversion property (for me, version was "18.1.1").

希望它能帮助!

这篇关于更新的Andr​​oid内置的工具为18.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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