Update Android built tool To 18.0

百般思念 提交于 2019-12-12 08:49:02

问题


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"
}

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

failed to find Build Tools revision 18.0.0

What should I do?


回答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").

Hope it help!



来源:https://stackoverflow.com/questions/18767494/update-android-built-tool-to-18-0

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