0

我正在 Android 中进行 Facebook 集成。我完成了指南中给出的所有 5 个步骤, 但是当我执行第 6 步时,即,将 FacebookSDK 添加到我的应用程序时,我遇到了一些错误。我发布了这些错误,请帮助我......

`

[2013-03-09 16:20:47 - FbIntegration] Found 2 versions of android-support-v4.jar in the dependency list,
[2013-03-09 16:20:47 - FbIntegration] but not all the versions are identical (check is based on SHA-1 only at this time).
[2013-03-09 16:20:47 - FbIntegration] All versions of the libraries must be the same at this time.
[2013-03-09 16:20:47 - FbIntegration] Versions found are:
[2013-03-09 16:20:47 - FbIntegration] Path: C:\Users\gtm\facebook-android-sdk-3.0\facebook\libs\android-support-v4.jar
[2013-03-09 16:20:47 - FbIntegration]   Length: 349252
[2013-03-09 16:20:47 - FbIntegration]   SHA-1: 612846c9857077a039b533718f72db3bc041d389
[2013-03-09 16:20:47 - FbIntegration] Path: C:\ste\FbIntegration\libs\android-support-v4.jar
[2013-03-09 16:20:47 - FbIntegration]   Length: 385685
[2013-03-09 16:20:47 - FbIntegration]   SHA-1: 48c94ae70fa65718b382098237806a5909bb096e

`

4

1 回答 1

2

复制 android-support-v4.jar

C:\Users\gtm\facebook-android-sdk-3.0\facebook\libs\android-support-v4.jar

C:\ste\FbIntegration\libs\android-support-v4.jar

这正是错误所说的。依赖只能有一个版本的android-support-v4.jar

于 2013-03-09T11:28:01.777 回答