我在Android中进行Facebook整合。我完成了guide中给出的所有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
`
答案 0 :(得分: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