I installed Android Studio 1.2.1.1, with Gradle version 2.2.1, and Android plugin version 1.2.3. I tried to create a simple hello world project, and it give me a build failure of :app:compileDebugAidl FAILED. Am i missing something or have some incompatible issue with version, as this should be a simple application. Thanks for any help.
This is the compilation errors I am getting:
Information:Gradle tasks [:app:assembleDebug]
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72220Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42220Library UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl FAILED
Error:Execution failed for task ':app:compileDebugAidl'.
> aidl is missing
Information:BUILD FAILED
I had the same problem.
right click on app -> Open module settings. Set in this menu the 'Build Tools Version' to version 22.0.1.
After setting this I was able to build the project successfully.
I met the same problem and resolved by changing the Preferences -> Build,Execution,Deployment -> Build Tools -> Gradle -> Project-level settings from 'Use local gradle distribution' to 'Use default gradle wrapper (recommended)'.
Hope it helps.
goto File->settings->build->gradle and select Use default gradle wrapper (recommended)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With