Reputation: 371
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
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
Reputation:
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
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