0

我试图将示例 facebook sdk 项目导入 Eclipse,并且在除 Hackbook 之外的所有项目上都出现此错误。

Found 2 versions of android-support-v4.jar in the dependency list,
but not all the versions are identical (check is based on SHA-1 only at this time).
All versions of the libraries must be the same at this time.
Versions found are:
Path: C:\Program Files\facebook-android-sdk-3.0.2\facebook\libs\android-support-v4.jar 
Length: 349252
SHA-1: 612846c9857077a039b533718f72db3bc041d389
Path: C:\Program Files\facebook-android-sdk-3.0.2\libs\android-support-v4.jar
Length: 556198
SHA-1: 4a6be13368bb64c5a0b0460632d228a1a915f58f
Jar mismatch! Fix your dependencies

无论如何我可以从构建路径中删除其中一个吗?我试过 Build Path>Configure Build Path 来删除第二个 jar 文件,但它在我关闭窗口后重新出现。

4

1 回答 1

1

您可以简单地复制一个(例如 C:\Program Files\facebook-android-sdk-3.0.2\facebook\libs\android-support-v4.jar)替换另一个(C:\Program Files\facebook-android- sdk-3.0.2\libs\android-support-v4.jar) 所以你有相同版本的库

于 2013-07-30T20:59:32.907 回答