尝试错误时,解析整合到Android应用程序错误:错误:执行失败的任务“:应用程序:transformClassesWithDexForDebug” [英] Error when trying to integrate parse into Android app error: Error:Execution failed for task ':app:transformClassesWithDexForDebug'

查看:533
本文介绍了尝试错误时,解析整合到Android应用程序错误:错误:执行失败的任务“:应用程序: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 adding multiDexEnabled true to your app build.gradle file.

defaultConfig {
    multiDexEnabled true
}

这篇关于尝试错误时,解析整合到Android应用程序错误:错误:执行失败的任务“:应用程序:transformClassesWithDexForDebug”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆