android - 在 eclipce 上安装 facebook api 后发现 2 个版本的 .jar。在我的新应用中

标签 android facebook eclipse api jar

<分区>

Eclipse 控制台消息:

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: /Users/itaiirdam/Documents/facebook-android-sdk-3.0.2.b/facebook/libs/android-support-v4.jar
Length: 349252
SHA-1: 612846c9857077a039b533718f72db3bc041d389
Path: /Users/itaiirdam/Documents/workspace1/CTPuppy/libs/android-support-v4.jar
Length: 385677
SHA-1: b9c504522d97f64025c387493d3989e52bc617bd
Jar mismatch! Fix your dependencies
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: /Users/itaiirdam/Documents/facebook-android-sdk-3.0.2.b/facebook/libs/android-support-v4.jar
Length: 349252
SHA-1: 612846c9857077a039b533718f72db3bc041d389
Path: /Users/itaiirdam/Documents/workspace1/CTPuppy/libs/android-support-v4.jar
Length: 385677
SHA-1: b9c504522d97f64025c387493d3989e52bc617bd
Jar mismatch! Fix your dependencies

最佳答案

因为第三方api里面有support library。您的项目中也可能包含相同的支持库。 从您项目的库中删除公共(public)支持库。这应该可以解决您的问题并让我知道结果。

关于android - 在 eclipce 上安装 facebook api 后发现 2 个版本的 .jar。在我的新应用中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13819328/

相关文章:

android - 为什么 Android ContentObserver 的 onChange() 没有被调用?

javascript - 按需为 Facebook Connect 加载 js

facebook - 网上有没有像样的 PHP Facebook Connect 示例?

c++ - 为什么 Eclipse 找不到 g++?

java - 跨服务锁定文件

Android smack 库订阅(不显示入站或出站通知)

Facebook Graph API/me/Feed V2.4 与 V2.3

linux - 如何在 Ubuntu 安装过程中卸载 Eclipse IDE 和已安装的软件包?

python - Eclipse 中的 PyDev 交互式 Python Shell

android - 错误 : Expected resource of type styleable [ResourceType] error