Android的工作室:执行失败的任务:应用程序:compileDebugAidl失败 [英] Android Studio: execution failed for task : app:compileDebugAidl FAILED
问题描述
我在安装Android的工作室1.2.1.1,与摇篮版本2.2.1和Android插件版本1.2.3。我试图创建一个简单的Hello World项目,它给我的构建失败:应用程序:compileDebugAidl失败。我缺少的东西或版本有一些不兼容的问题,因为这应该是一个简单的应用程序。感谢您的帮助。
这是编译错误我得到:
信息:摇篮任务[:应用程序:assembleDebug]
:应用程序:preBuild UP-TO-DATE
:应用程序:preDebugBuild UP-TO-DATE
:应用程序:checkDebugManifest
:应用程序:preReleaseBuild UP-TO-DATE
:应用程序:prepareComAndroidSupportAppcompatV72220Library UP-TO-DATE
:应用程序:prepareComAndroidSupportSupportV42220Library UP-TO-DATE
:应用程序:prepareDebugDependencies
:应用程序:compileDebugAidl失败
错误:执行失败的任务:应用程序:compileDebugAidl。
> AIDL缺失
信息:构建失败
我有同样的问题。
右键单击应用程序 - >打开模块设置。设置此菜单中的生成工具版本为22.0.1版本。
设置此我能够成功构建项目后。
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.
这篇关于Android的工作室:执行失败的任务:应用程序:compileDebugAidl失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!