android studio Error:Execution failed for task ‘:

11
down vote

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

时间: 2024-10-13 08:58:26

android studio Error:Execution failed for task ‘:的相关文章

[Android Studio][NDK]Execution failed for task ':app:compileDebugNdk'. Error Code:2

Execution failed for task ':app:compileDebugNdk'. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: C:\Users\sodinochen\AppData\Local\Android\ndk-r10b\ndk-build.cmd NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\Users\sodinoch

[Exception Android 20] - Error:Execution failed for task ':app:processDebugResources'

Error:Execution failed for task ':app:processDebugResources'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\Android\adt-bundle-windows-x86_64-20140702\sdk\build-tools\22.0.1\aapt.ex

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

Error:Execution failed for task ':app:processDebugManifest'. 合并冲突

1. Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed : Attribute [email protected] value=(false) from AndroidManifest.xml:16:9-36 is also present at [com.github.devlight.shadowlayout:library:1.0.2] AndroidManifest.

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

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

关于android studio 出现Error:Execution failed for task ':app:buildInfoDebugLoader'.的解决办法

今天在使用androidstudio的过程中,改了代码点击运行的时候发现android studio总是报 Error:Execution failed for task ':app:buildInfoDebugLoader'.> Exception while doing past iteration backup : Source /home/ruiqin/AndroidStudioProjects/DouTuGaoShou/app/build/intermediates/builds/de

android开发里跳过的坑——android studio 错误Error:Execution failed for task ':processDebugManifest'. > Manifest merger failed with multiple errors, see logs

使用AS在gradle里配置了多个定制版本,发现在编译版本切换时,会出现错误: Error:Execution failed for task ':processDebugManifest'.> Manifest merger failed with multiple errors, see logsInformation:Gradle tasks [:app:generatePhoneWulianDebugSources, :app:mockableAndroidJar, :app:prepa

android studio导入项目出错:Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple errors, see logs

android studio导入项目出错:Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple errors, see logs 解决方式:这个情况是有不同版本的 SDK 并不能合并,建议降低主程序target SDK版本. android studio导入项目出错:Error:Execution failed for task ':app:proce