Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update Android built tool To 18.0

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?

like image 723
Jack Wang Avatar asked Sep 12 '13 14:09

Jack Wang


1 Answers

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!

like image 82
Nicolas Buquet Avatar answered Oct 12 '22 11:10

Nicolas Buquet