Eclipse导入library的时候报:Found 2 versions of android-support-v4.jar in the dependency list
错误类型:
[2014-04-28 11:56:03 - 新闻] Found 2 versions of android-support-v4.jar in the dependency list,
[2014-04-28 11:56:03 - 新闻] but not all the versions are identical (check is based on SHA-1 only at this time).
[2014-04-28 11:56:03 - 新闻] All versions of the libraries must be the same at this time.
[2014-04-28 11:56:03 - 新闻] Versions found are:
[2014-04-28 11:56:03 - 新闻] Path: D:\workspace\新闻\libs\android-support-v4.jar
[2014-04-28 11:56:03 - 新闻] Length: 627582
[2014-04-28 11:56:03 - 新闻] SHA-1: db0f122c99ef9f90dbab3fada6d191f2880cbb8e
[2014-04-28 11:56:03 - 新闻] Path: D:\workspace\library\libs\android-support-v4.jar
[2014-04-28 11:56:03 - 新闻] Length: 385685
[2014-04-28 11:56:03 - 新闻] SHA-1: 48c94ae70fa65718b382098237806a5909bb096e
[2014-04-28 11:56:03 - 新闻] Jar mismatch! Fix your dependencies
分析 : 有2个v4的jar包
解放方案 :直接将library中的v4jar覆盖自己项目中的v4jar即可!
并且要注意的是,当我们导入library的时候Android的API版本一定要一致,不然的话引入会出错!
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。