标签:
1、在Android开发中,会遇到包名不一致的情况,如下所示
[2015-11-21 11:56:03 - test] Found 2 versions of android-support-v4.jar in the dependency list,
[2015-11-21 11:56:03 - test] but not all the versions are identical (check is based on SHA-1 only at this time).
[2015-11-21 11:56:03 - test] All versions of the libraries must be the same at this time.
[2015-11-21 11:56:03 - test] Versions found are:
[2015-11-21 11:56:03 - test] Path: D:\workspace\test\libs\android-support-v4.jar
[2015-11-21 11:56:03 - test] Length: 627582
[2015-11-21 11:56:03 - test] SHA-1: db0f122c99ef9f90dbab3fada6d191f2880cbb8e
[2015-11-21 11:56:03 - test] Path: D:\workspace\library\libs\android-support-v4.jar
[2015-11-21 11:56:03 - test] Length: 385685
[2015-11-21 11:56:03 - test] SHA-1: 48c94ae70fa65718b382098237806a5909bb096e
[2015-11-21 11:56:03 - test] Jar mismatch! Fix your dependencies
分析 :有2个v4的jar包
解放方案 :直接覆盖v4jar,就是保持 两个包一样, 就是保证引用类库的v4包与lib文件下的包一致。
Jar mismatch! Fix your dependencies
标签:
原文地址:http://www.cnblogs.com/luoyangcn/p/4984813.html