Kyizin
Kyizin

Reputation: 371

Execution failed for task ':app:compileDebugAidl'. > aidl is missing

This is my build.gradle (MyApplication).

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.3.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

Execution failed for task ':app:compileDebugAidl'. > aidl is missing

I got this error. How can i fix this? Help me.

Upvotes: 3

Views: 7740

Answers (3)

Muhammad Haris
Muhammad Haris

Reputation: 91

Kindly upgrade your build tools version to latest. Also check if you are using any library if it i using older build tools version, upgrade that too.

Upvotes: 0

user5400869
user5400869

Reputation:

enter image description here

I solve my issue, set the build tools version from 21.1.2 to 22.0.1, hope it can help who meet the same.

Upvotes: 4

dex
dex

Reputation: 5240

Generally this problem will occur when you are trying to build gradle in lower version. Please update your build tool version to latest i.e 23.0.1, It will work

Upvotes: 4

Related Questions