"Execution failed for task ': App:compiledebugaidl ': Aidl is missing" workaround

Source: Internet
Author: User

Reprint: "Execution failed for task ': App:compiledebugaidl ': Aidl is missing" solution

Rebuilding the Android Studio programming Environment today, old compilation However, hint: Execution failed for task ': App:compiledebugaidl ': Aidl is missing, on the internet to find a lot of information, Finally found a solution on a foreign website:

In my case I downloaded version of Android M and Android 5.1.1 using Android Studio 1.2.1.1 if I try to do a Hell o World This same error showed me

The solution for me is doing right click on app like the image below and choose "Open Module Settings"

Then there there are 2 options. I ' ve changed both with the last version I had.

Compile SDK version to API Lollipop

and Build Tools Version to 21.1.2

Finally Clean the project and Build

UPDATED

To Get the Android Studio 1.3 follow this steps

    1. Open the Settings window by choosing File > Settings.
    2. Choose the Appearance & Behavior > System Settings > Updates panel.
    3. On the Updates panel, choose the option automatically check Updates for: Canary Chanel.
    4. On the Updates panel, select Check Now-check for the latest Canary build. Download and install the build is prompted.

Then you'll have the something like this-update your Androud Studio to 1.3 and with the this you can test Android M

"Execution failed for task ': App:compiledebugaidl ': Aidl is missing" workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.