我从eclipse中删除了我的添加并导入了它的备份副本。现在应用程序没有运行,我得到以下错误。请您逐步解释以解决此错误吗?
Found 2 versions of android-support-v4.jar in the dependency list,
[2014-02-14 14:09:19 - Task] but not all the versions are identical (check is based on SHA-1 only at this time).
[2014-02-14 14:09:19 - Task] All versions of the libraries must be the same at this time.
[2014-02-14 14:09:19 - Task] Versions found are:
[2014-02-14 14:09:19 - Task] Path: E:\facebook-android-sdk- 3.6.0\facebook\libs\android-support-v4.jar
[2014-02-14 14:09:19 - Task] Length: 349252
[2014-02-14 14:09:19 - Task] SHA-1: 612846c9857077a039b533718f72db3bc041d389
[2014-02-14 14:09:19 - Task] Path: E:\Android wrks\Task\libs\android-support- v4.jar
[2014-02-14 14:09:19 - Task] Length: 556198
[2014-02-14 14:09:19 - Task] SHA-1: 4a6be13368bb64c5a0b0460632d228a1a915f58f
[2014-02-14 14:09:19 - Task] Jar mismatch! Fix your dependencies
再次删除并添加v4库后,我收到此错误
Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityService InfoVersionImpl;
[2014-02-14 14:21:03 - Task] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityService InfoVersionImpl;
[2014-02-14 14:25:28 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityService InfoVersionImpl;
[2014-02-14 14:25:28 - Task] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityService InfoVersionImpl;
[2014-02-14 14:27:59 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityService InfoVersionImpl;
[2014-02-14 14:27:59 - Task] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityService InfoVersionImpl;
[2014-02-14 14:28:29 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityService InfoVersionImpl;
[2014-02-14 14:28:29 - Task] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityService InfoVersionImpl;
答案 0 :(得分:1)
将最新的android-support-v4.jar
放入应用程序和Facebook sdk中。
答案 1 :(得分:1)
答案 2 :(得分:0)
您的项目和Facebook-sdk库中的support-v4库可能不同。在项目和Facebook-sdk项目中放置相同的支持库jar。
注意:您也可以在Facebook-sdk中更新支持库,它不会提供任何更改。