Execution failed for task ':app:compileDebugAidl': aidl is missing
In my case I downloaded version 22 of Android M and Android 5.1.1 using Android Studio 1.2.1.1 but when I try to do a Hello World this same error showed me
So the solution for me was doing right click in app like the image below and choose "Open Module Settings"
then there you have 2 options. I've changed both with the last version I had.
Compile SDK version to API 21 Lollipop
and Build Tools Version to 21.1.2
Finally clean the project and Build
UPDATED
TO Get Android Studio 1.3 follow these steps
- Open the Settings window by choosing File > Settings.
- Choose the Appearance & Behavior > System Settings > Updates panel.
- On the Updates panel, choose the option Automatically check updates for: Canary Chanel.
- On the Updates panel, select Check Now to check for the latest canary build. Download and install the build when you are prompted.
Then you'll have something like this to update your Androud Studio to 1.3 and with this you can test Android M
Update: Real Cause
This bug happens when the versions of SDK, Build Tools and Gradle Plugins doesn't match (in terms of compatibility). The solution is to verify whether you are using the latest version of them or not. The gradle plugins are placed in the build.gradle of the project, and the other versions are on the build.gradle of the module. For example, for SDK 23, you must use the Build Tools 23.0.1 and gradle plugins version 1.3.1.
aidl is missing android studio
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.
Android Studio: Gradle build fails -- Execution failed for task ':compileDebugAidl'
I'm not sure how this is possible. It looks like you have a mismatch between the Gradle plugin itself and its dependencies that provides the WaitableExecutor class.
However you mention Gradle 1.5 and this is a problem.
The plugin version 0.3 was compatible with Gradle 1.3-1.4
The new version release last week, 0.4 is compatible with Gradle 1.6+
Make sure you use 0.4 and the new Gradle version.
Related Topics
Android Ci Build: Could Not Find Aapt2-Proto.Jar
Connecting Mongodb from Mobile or Browser Based Application
How to Know When an Edittext Loses Focus
How to Make a Vertical Seekbar in Android
Exclude a Class from the Build in Android Studio
How to Create a Circular (Endless) Recyclerview
Reading a Specific File from Sdcard in Android
How to Retrieve Style Attributes Programmatically from Styles.Xml
Detect the Status of Two Sim Cards in a Dual-Sim Android Phone
How to Convert Views to Bitmaps
Installation Error: Install_Parse_Failed_Manifest_Malformed
Error: "Adb Connection Error:An Existing Connection Was Forcibly Closed by the Remote Host"
High Resolution Image - Outofmemoryerror
How to Convert Image into Byte Array and Byte Array to Base64 String in Android
How to Generate Class Diagram (Uml) on Android Studio (Intellij Idea)