error :
Error:Execution failed for task ‘:app:preDexDebug’.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process ‘command ‘C:\Program Files\Java\jdk1.7.0_67\bin\java.exe’ finished with non-zero exit value 1
reason: the configuration in gradle
compileSdkVersion 23
buildToolsVersion ‘24.0.0 rc3’
compileSdkVersion and buildToolsVersion are inconsistent
changes compileSdkVersion as well as buildToolsVersion
compileSdkVersion 23
buildToolsVersion ‘23.0.0’
and then just compile it once.
Read More:
- Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’
- Android: How to Solve Execution failed for task ‘:app:compileDebugJavaWithJavac‘. > javax/xml/bind/JAXBException
- Execution failed for task ‘:app:mergeDebugResources’.
- Perfect solution Error:Execution failed for task ‘: APP:transformClassesWithDexForDebug ‘… Problem
- Execution failed for task ‘:app:stripDebugDebugSymbols‘.
- Execution failed for task ‘:app:processDebugManifest’.
- Quick solution org.gradle.api . tasks.TaskExecutionException : Execution failed for task ‘: app:compileJava ‘
- To solve the execution failed for task ‘: app:transformDexArchiveWithDexMergerForDebug ‘
- Execution failed for task ‘:app:processDebugManifest’
- Error:Execution failed for task ‘: app:transformDexArchiveWithExternalLibsDexMergerForDebug The solution
- Error:Execution failed for task’:app:processDebugResources’. Personally resolved
- Execution failed for task ‘:app:installDebug’.
- Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process D:\….\0.jar
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- How to Fix com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
- Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release
- Common faults and solutions of sylixos IDE (1)
- Error code 1 error resolution (NPX create react app my app execution reports an error)