错误运行Android应用程序使用Parse [英] Error Running Android Application With Parse

查看:188
本文介绍了错误运行Android应用程序使用Parse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图解析库集成到我的应用程序。
我所做的一切都是从解析提供的快速入门
我的code编译正常,但是当我试图运行我的应用程序,
我得到这个错误:

 错误:执行失败的任务:应用程序:dexDebug。
> com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:过程'命令'C:\\ Program Files文件\\的Java \\ jdk1.7.0_71 \\斌\\ java.exe的''与非完零退出值2


解决方案

我要发布一个问题,我是能够解决的问题。
我张贴一个Q&安培; A这里,以防万一有人遇到同样的问题
我有。

jar文件*您/应用/ libs文件夹,在我的情况 -

只有复制的解析。
这是解析-1.9.1.jar。如果您不小心复制了螺栓Adnroid内-1.2.0.jar与/ apps / libs文件夹,删除它,因为它会prevent您
从应用建设。

我看了一遍解析的快速入门,它​​说只复制解析 - *罐子
到libs文件夹。

我希望这将是对别人有用的。

I am trying to integrate Parse library to my app. I have done everything from the quickstart provided by Parse. My code compiles properly but when I tried running my application, I am getting this error:

Error:Execution failed for task ':app:dexDebug'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_71\bin\java.exe'' finished with non-zero exit value 2 

解决方案

I was about to post a question and I was able to solved the problem. I am posting a Q&A here just in case someone will encounter the same problem I have.

Only copy the Parse-*.jar file to your /apps/libs folder, in my case this is Parse-1.9.1.jar. If you have accidentally copied the bolt-adnroid-1.2.0.jar to the /apps/libs folder, remove it as it will prevent your application from building.

I read the quickstart of Parse again and it says to just copy the Parse-*.jar to the libs folder.

I hope this will be useful to others as well.

这篇关于错误运行Android应用程序使用Parse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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