我正在尝试将Action Bar Sherlock添加到我的应用程序中。将其添加为库。其中它给出了以下错误。ActionBar Sherlock没有被添加为库,日食?
Found 3 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: E:\VFCApps\SARGroup\libs\android-support-v4.jar
Length: 648327
SHA-1: ded9acc6a9792b8f1afc470f0c9cd36d178914cd
Path: E:\VFCApps\appcompat_v7_2\libs\android-support-v4.jar
Length: 648327
SHA-1: ded9acc6a9792b8f1afc470f0c9cd36d178914cd
Path: E:\VFCApps\actionbarsherlock\libs\android-support-v4.jar
Length: 271754
SHA-1: 53307dc2bd2b69fd5533458ee11885f55807de4b
Jar mismatch! Fix your dependencies
E:\VFCApps\appcompat_v7_2\res\values\attrs.xml:32: error: Attribute "windowActionBar" has already been defined
E:\VFCApps\appcompat_v7_2\res\values\attrs.xml:33: error: Attribute "windowActionBarOverlay" has already been defined
等等...
的R.java自动从我的主要项目上添加库中删除。
'android-support-v4.jar'库是不同的。使用其中之一,只需复制一个项目并替换其他项目。你为什么试图将'actionbarsherlock'和'appcompat_v7_2'加在一起? –