[Solution] aidl Android Build Tool Error : Please use Android plugin 1.3 or newer

Posted on : Fri, 29th May 15 01:52 pm UTC
100+ votes
Console Error Message :
Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources]
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:compileDebugAidl FAILED
Error:Execution failed for task ':app:compileDebugAidl'.
> aidl is missing
Information:BUILD FAILED
Information:Total time: 4.291 secs
Information:1 error
Information:0 warnings
Information:See complete output in console
Android Studio Error Popup Message :

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.

Recently I updated my Android Studio from version 1.2 to 1.3 Canary Preview version and download the Latest Android M Preview 22+ and created an Hello world Application, when the IDE was launched I got the above error messages!

Solution :

  1. Go to Tools -> Android -> SDK Manager
  2. Click on : Launch Standalone Manager
  3. Make sure that you have download Android SDK Build-tools and Platform-tools under Tools(Preview Channel) 23 rc1
  4. Also make sure that you have download the latest Android Support Library and PlayStore services under Extras.
  5. After doing so just restart your Android Studio IDE, things should get resolved.

This is how the build.gradle for your app must look like,

File : build.gradle Language :
apply plugin: 'com.android.application'

android {
    compileSdkVersion 'android-MNC'
    buildToolsVersion "23.0.0 rc1"

    defaultConfig {
        applicationId "org.code2care.myapplication1"
        minSdkVersion 'MNC'
        targetSdkVersion 'MNC'
        versionCode 1
        versionName "1.0"
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])

Code2care's mission is to share varied knowledge in technical and non-technical areas gathered during day-to-day learnings and development activities so that our visitors can leverage this portal to find solutions to their queries without re-inventing the wheel. Technical posts include Learnings, Tutorials, Video Tutorials, Code Snippets, Tips-n-tricks.

Follow us : Facebook - Twitter - Google +