转换为Dalvik格式失败facebook/AccessToken $ SerializationProxyV1 [英] Conversion to Dalvik format Failed facebook/AccessToken$SerializationProxyV1

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

问题描述

这是我的日志:

[2013-02-09 19:48:50 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/facebook/AccessToken$SerializationProxyV1;
[2013-02-09 19:48:50 - MainActivity] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/facebook/AccessToken$SerializationProxyV1;

我尝试过

  • 清理项目
  • 删除libs文件夹
  • 重新启动Eclipse
  • 删除android-support-v4.jar

但是他们都没有解决我的问题.

But none of them resolved my problem.

推荐答案

好吧,这取决于您是否仅构建Facebook SDK,还是将其作为自己的Android项目的库包含在内(我想是这样).如果您的项目文件夹中有一些JAR(作为JAR添加到您的项目中),请将其删除并将其复制到项目根目录之外的某个位置,然后再次将其添加为外部jar.这个问题可能是可能的重复.

Well, it depends if you build the Facebook SDK only, or you've included it as Library for your own Android project (I suppose that's the case). If you have some JAR's within your project folder (added as JARs to your project), remove them and copy them somewhere outside your project root, then add them again as the external jars. This question might be possible duplicate.

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

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