码迷,mamicode.com
首页 > 移动开发 > 详细

“Execution failed for task ‘:app:compileDebugAidl': aidl is missing”解决办法

时间:2015-07-13 11:55:31      阅读:241      评论:0      收藏:0      [点我收藏+]

标签:

转载: “Execution failed for task ‘:app:compileDebugAidl‘: aidl is missing”解决办法

今天重建android studio编程环境,老编译不过,提示:Execution failed for task ‘:app:compileDebugAidl‘: aidl is missing,在网上查了不少资料,终于在一个国外网站找到了解决办法:

In my case I downloaded version 22 of Android M and Android 5.1.1 using Android Studio 1.2.1.1 but when I try to do a Hello World this same error showed me

So the solution for me was doing right click in app like the image below and choose “Open Module Settings”

技术分享

then there you have 2 options. I’ve changed both with the last version I had.

Compile SDK version to API 21 Lollipop

技术分享

and Build Tools Version to 21.1.2

技术分享

Finally clean the project and Build

UPDATED

TO Get 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 to check for the latest canary build. Download and install the build when you are prompted.

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

技术分享

 

“Execution failed for task ‘:app:compileDebugAidl': aidl is missing”解决办法

标签:

原文地址:http://www.cnblogs.com/hanwudi/p/4642385.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!