由于facebook SDK转换为Dalvik格式失败,错误1 [英] Conversion to Dalvik format failed with error 1 since facebook SDK

查看:99
本文介绍了由于facebook SDK转换为Dalvik格式失败,错误1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对此我感到非常沮丧。我尝试导出项目时,都会遇到以下错误:转换为Dalvik格式失败,并显示错误1

I'm getting really frustrated over this. Every imte i try to export my project I get the error: Conversion to Dalvik format failed with error 1

我尝试了很多事情。我有最新的日食。更改了我的proguard文件。

I tried a lot of things. I got the newest eclipse. Changed my proguard file.

此错误仅在我将facebook 3.5.2 SDK添加到项目中时发生。我们在我们的库中有相同的android-support-v4.jar。我在我的应用程序中删除了一个,并在facebook SDK中保留了一个,但是我仍然提示该错误。有人可以帮我吗,真的很令人沮丧...

This error only happened when I added the facebook 3.5.2 SDK to my project. We had in our library the same android-support-v4.jar. I deleted the one in my app and kept the one in the facebook SDK but I still het that error. Can anybody help me it's really frustrating ...

在此先感谢。.

推荐答案

我们也遇到了这个错误,我们为此找到了一个明智的解决方案
解决此错误的步骤:

We too faced this error and we found a smart solution for this, Steps to resolve this error:


  1. 取消选中Eclipse中项目菜单中的自动构建选项。

  2. 进行项目清理

  3. 然后,在$上右键单击项目名称b $ b在这里您会找到构建项目选项

  4. 单击构建
    项目,现在您可以开始导出项目了。

  1. Uncheck the "Build Automatically" option in Project menu in eclipse.
  2. Do project clean
  3. And then, right click on the project name over here you will find "Build Project" option
  4. Click the "Build Project" and now you can start export your project.

我希望它也对您有用。请尝试让我知道...

I hope it should work to you too.Please try and let me know...

这篇关于由于facebook SDK转换为Dalvik格式失败,错误1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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