Gradle ADT 0.4 error: android.buildToolsVersion is missing

Attempting to build my Android project using the latest ADT tools release of Gradle, I get the following error:

Execution failed for task ':compileDebugAidl'.
> android.buildToolsVersion is missing!

Using Gradle 1.6, Android plugin 0.4.

  • Is there any way in Android to force open a link to open in Chrome?
  • Android 3.1 USB-Host - BroadcastReceiver does not receive USB_DEVICE_ATTACHED
  • How Android SharedPreferences save/store object
  • Simulate USB/Bluetooth HID device locally in order to inject events?
  • Cannot resolve MapActivity class on Android
  • How to use an output parameter in Java?
  • How to get duration of a video file?
  • Determining and preventing Android Scheduling delay
  • Borderless Button on Pre-Lollipop with Support Library
  • Port iPhone application to Android
  • Convert from Long to date format
  • ERROR: must implement OnFragmentInteractionListener
  • 2 Solutions collect form web for “Gradle ADT 0.4 error: android.buildToolsVersion is missing”

    Make sure that you’ve downloaded the latest ADT, SDK, Platform and Build tools. Then add this to your gradle build.

    android {
         buildToolsVersion "17.0"
         compileSdkVersion 15

    credit to the adt mailing group.

    Note: It is important to put the around the 17.0 as shown – otherwise that will not work

    The buildToolsVersion value depends upon which version you downloaded from Google.

    Assuming you installed the Android SDK, run “android” from the command-line, to open the Android SDK Manager. In the left column you’ll see Tools | Android SDK Build-tools. That tells you whether or not you’ve installed the Build-tools yet.

    After installing the Build-tools, look at the second column, labelled “Rev.” It has the Build-tools version to use for gradle’s buildToolVersion.

    enter image description here

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.