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

转载: “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”解决办法

时间: 2024-10-14 19:07:58

“Execution failed for task ‘:app:compileDebugAidl': aidl is missing”解决办法的相关文章

Error:Execution failed for task ':app:compileDebugAidl'. > aidl is missing(Android Studio编译错误)

今天下载了一个1.2.1.1版本的Android Studio,使用VPN更新好SDK之后就新建了一个hello world工程测试一下环境,然后就出现以下错误: Error:Execution failed for task ':app:compileDebugAidl'. > aidl is missing 什么情况?全新安装的环境也有错误?Google发布这个工具时没有测试好吗? 没搞过这个工具,一阵搜索得到以下方案: 1.右键工程->Open Module Settings 2.将Bu

解决方案:Error:Execution failed for task ':app:compileDebugAidl'. > aidl is missing

也许有朋友最初在用Android Studio创建新工程的时候会碰到这个错误,其实这个问题是由于版本不兼容导致的,解决方法很简单,只需要把编译工具的版本改一下就可以了: 1.选左侧的工程根目录app,按F12打开Project Structure: 2.点击底部的app,把右侧Build Tool Version 从23.0.0 改为22.0.1即可~ 解决方案:Error:Execution failed for task ':app:compileDebugAidl'. > aidl is

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

Android Studio下载了最新的Android SDK之后,配置被修改了. 打开工程的时候会报这个错误. 只需要重新配置一下就行了, 右键 你的Project,选择 Module Setting 进去之后选中app module,然后修改SDK version 和build tool version 将它们的版本修改低一点. Execution failed for task ':app:compileDebugAidl': aidl is missing

Error:Execution failed for task ':app:compileDebugAidl'. > java.lang.IllegalStateException: aidl is missing from '/Users/renguodong/Library/Android/sdk/build-tools/26.0.2/aidl'

错误信息:Error:Execution failed for task ':app:compileDebugAidl'. > java.lang.IllegalStateException: aidl is missing from '/Users/renguodong/Library/Android/sdk/build-tools/26.0.2/aidl' 出错分析:网上查了一些信息,给出的都是要把BuildTools Version和Compile Sdk Version一致.可是我的已经

gradle编译出错:Execution failed for task ':app:compileTestDebugJava'.

今天更新了android studio,从0.5.3升级到0.6.1版本,结果在IDE中编译时没有问题,但是在命令行时编译就会出现以下错误: :app:compileTestDebugJava FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:compileTestDebugJava'. > No signature of method: com.a

Android中使用databinding编译时出现的error:Execution failed for task ':app:dataBindingProcessLayoutsDebug'

Windows环境下使用svn对AndroidStudio更新代码时,总会在源文件中出现一堆乱码,尤其是xml文件中的乱码,不仅找起来费劲,改起来更费劲. 最近从svn更新代码之后,编译时出现了下面这个提示,而且AS中没有错误提示,这可真是捉急了. databinding error:Execution failed for task ':app:dataBindingProcessLayoutsDebug' 后来,多亏这篇帖子提示,自己写了段代码来尝试下,http://stackoverflo

Android Studio 运行出现 Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.

转载请标明出处: http://www.cnblogs.com/why168888/p/5978381.html 本文出自:[Edwin博客园] 我引用compile 'com.squareup.retrofit2:converter-jackson:2.1.0'Gradle没有错误,运行APP就出了这个error. 错误日志:Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.> c

Error:Execution failed for task ':app:transformClassesWithDexForDebug'.

使用android studio 时,编译成功但用build apk时却报错 环境: android studio 1.5, jdk1.7 错误:Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: ja

Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug

这几天eclipse 项目迁移 android studio Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: android/support/v4/accessibilityservice/Ac