我刚刚minsdk
在最新的Eclipse Luna中创建了一个新的空白Android项目,版本为2.2.Eclipse自动android-support--v4.jar
在项目的libs文件夹中添加了一个。这在控制台中导致错误:
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: /home/faizal/DEV/ADT workspace/myNewProject/libs/android-support-v4.jar
Length: 758727
SHA-1: efec67655f6db90757faa37201efcee2a9ec3507
Path: /home/faizal/DEV/ADT workspace/appcompat_v7/libs/android-support-v4.jar
Length: 648327
SHA-1: ded9acc6a9792b8f1afc470f0c9cd36d178914cd
Jar mismatch! Fix your dependencies
这是因为我还有一个appcompat_v7支持库项目,该项目我正在使用另一个项目,并且是由较早的Eclipse创建的(我认为它是Juno ..,它是ADT捆绑包的一部分)。
我知道解决方案是删除其中一个罐子,但是哪个罐子又为什么呢?
您只需要:
然后,Android支持库将同步(:
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句