Android M 22 aidl is missing error : Android Studio

Posted on : Fri, 29th May 15 08:27 am UTC
100+ votes

Recently Google Released its upcoming Android Operating System Preview version called Android M 22+ to developers at Google IO event , i just got it downloaded and created an emulator on my Mac OS X operating system,

    My Configuration :

  1. Operating system : Mac OS X Yosemite 10.10.3
  2. Android Studio version : build on 5th May 2015
  3. Latest Android M Preview 22+ Android 5.1.1 download

When i tried to run the Hello World Project on Emulator i got the following error,

Execution failed for the task : aidl is missing


To resolve this issue follow the following steps :

  1. Go to your app folder under Navigation section.
  2. Right Click -> Open Module Settings
  3. Set Compile with SDK Version as API 22 or below (Lollipop)
  4. Set Build version as 21.1.2
  5. Clean + Build your Project

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 +