尝试错误时,解析整合到Android应用程序错误:错误:执行失败的任务“:应用程序:transformClassesWithDexForDebug” [英] Error when trying to integrate parse into Android app error: Error:Execution failed for task ':app:transformClassesWithDexForDebug'
问题描述
我试图重新建立一个应用程序运行在我做的iOS Android的释放在一起,我试图解析融入Android应用,并收到以下错误:
错误:执行失败的任务:应用程序:transformClassesWithDexForDebug。
com.android.build.api.transform.TransformException:com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:进程命令/库/的Java / JavaVirtualMachines / jdk1。 8.0_65.jdk /内容/首页/斌/ java的'非零退出值完成2
块引用>可能有人协助,以什么这可能意味着,我该如何去修复它?
我下载最新的解析SDK和放置在依赖于的build.gradle
解决方案首先
清洁
和重建项目,如果问题仍然存在,尝试添加multiDexEnabled真正
为您的应用的build.gradle
文件。defaultConfig {
multiDexEnabled真
}I am attempting to recreate a running app I made in iOS for Android to release together I am attempting to integrate parse into the Android app and receive the following error:
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2
could someone assist as to what this could mean and how can I go about fixing it?
I downloaded the latest parse SDK and placed in the dependencies in the build.gradle.
解决方案First of all
clean
and rebuild your project and if the problem still persist, Try addingmultiDexEnabled true
to your appbuild.gradle
file.defaultConfig { multiDexEnabled true }
这篇关于尝试错误时,解析整合到Android应用程序错误:错误:执行失败的任务“:应用程序:transformClassesWithDexForDebug”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!