1

I want to try out android m preview in my app. I have downloaded the latest build tools and the m platform. I have included this in my build.gradle file (of module app) :

compileSdkVersion 'android-MNC'
buildToolsVersion '23.0.0 rc2'

In the project build.gradle file, I have included this in my dependencies :

classpath "com.android.tools.build:gradle:1.3.0-beta1"
classpath "com.android.databinding:dataBinder:1.0-rc0"

I am using Android Studio 1.3 and SDK tools v24.3.1. This is the output when I try to sync my project.

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

I have tried the answers given here and they are either not applicable or didn't work.

Community
  • 1
  • 1
axay
  • 1,657
  • 2
  • 18
  • 22

1 Answers1

1

I just ran into this earlier this week.

Change:

classpath "com.android.tools.build:gradle:1.3.0-beta1"

to:

classpath "com.android.tools.build:gradle:1.3.0-beta2"

to line up with the rc2 build tools.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • 1
    In case someone else also runs into this, in my case I had 1.3-beta2 and got the missing aidl error. Apparently the ".0" is significant. –  Jun 18 '15 at 01:18