我是android开发人员和Eclipse上的新手。每当我创建一个应用程序,它只是给出了错误ActionBarActivity无法解析为类型,Jar不匹配:Eclipse
我的平台:
Android SDK中的工具:23.0.5 的Android sdkplatform工具:21 的Android sdkbuild工具:21.1
错误:
[2014-11-03 15:58:24 - Test] Found 2 versions of android-support-v4.jar in the dependency list,
[2014-11-03 15:58:24 - Test] but not all the versions are identical (check is based on SHA-1 only at this time).
[2014-11-03 15:58:24 - Test] All versions of the libraries must be the same at this time.
[2014-11-03 15:58:24 - Test] Versions found are:
[2014-11-03 15:58:24 - Test] Path: C:\Users\Zain-ul-abdeen\workspace\Test\libs\android-support-v4.jar
[2014-11-03 15:58:24 - Test] Length: 987314
[2014-11-03 15:58:24 - Test] SHA-1: 9b6a9a9078af571732159b904ad423b03b7cc786
[2014-11-03 15:58:24 - Test] Path: C:\Users\Zain-ul-abdeen\workspace\appcompat_v7\libs\android-support-v4.jar
[2014-11-03 15:58:24 - Test] Length: 758727
[2014-11-03 15:58:24 - Test] SHA-1: efec67655f6db90757faa37201efcee2a9ec3507
[2014-11-03 15:58:24 - Test] Jar mismatch! Fix your dependencies
[2014-11-03 15:58:24 - Test] Found 2 versions of android-support-v4.jar in the dependency list,
[2014-11-03 15:58:24 - Test] but not all the versions are identical (check is based on SHA-1 only at this time).
[2014-11-03 15:58:24 - Test] All versions of the libraries must be the same at this time.
[2014-11-03 15:58:24 - Test] Versions found are:
[2014-11-03 15:58:24 - Test] Path: C:\Users\Zain-ul-abdeen\workspace\Test\libs\android-support-v4.jar
[2014-11-03 15:58:24 - Test] Length: 987314
[2014-11-03 15:58:24 - Test] SHA-1: 9b6a9a9078af571732159b904ad423b03b7cc786
[2014-11-03 15:58:24 - Test] Path: C:\Users\Zain-ul-abdeen\workspace\appcompat_v7\libs\android-support-v4.jar
[2014-11-03 15:58:24 - Test] Length: 758727
[2014-11-03 15:58:24 - Test] SHA-1: efec67655f6db90757faa37201efcee2a9ec3507
[2014-11-03 15:58:24 - Test] Jar mismatch! Fix your dependencies
[2014-11-03 15:58:35 - Test] Found 2 versions of android-support-v4.jar in the dependency list,
[2014-11-03 15:58:35 - Test] but not all the versions are identical (check is based on SHA-1 only at this time).
[2014-11-03 15:58:35 - Test] All versions of the libraries must be the same at this time.
[2014-11-03 15:58:35 - Test] Versions found are:
[2014-11-03 15:58:35 - Test] Path: C:\Users\Zain-ul-abdeen\workspace\Test\libs\android-support-v4.jar
[2014-11-03 15:58:35 - Test] Length: 987314
[2014-11-03 15:58:35 - Test] SHA-1: 9b6a9a9078af571732159b904ad423b03b7cc786
[2014-11-03 15:58:35 - Test] Path: C:\Users\Zain-ul-abdeen\workspace\appcompat_v7\libs\android-support-v4.jar
[2014-11-03 15:58:35 - Test] Length: 758727
[2014-11-03 15:58:35 - Test] SHA-1: efec67655f6db90757faa37201efcee2a9ec3507
[2014-11-03 15:58:35 - Test] Jar mismatch! Fix your dependencies
[2014-11-03 15:58:35 - Test] Found 2 versions of android-support-v4.jar in the dependency list,
[2014-11-03 15:58:35 - Test] but not all the versions are identical (check is based on SHA-1 only at this time).
[2014-11-03 15:58:35 - Test] All versions of the libraries must be the same at this time.
[2014-11-03 15:58:35 - Test] Versions found are:
[2014-11-03 15:58:35 - Test] Path: C:\Users\Zain-ul-abdeen\workspace\Test\libs\android-support-v4.jar
[2014-11-03 15:58:35 - Test] Length: 987314
[2014-11-03 15:58:35 - Test] SHA-1: 9b6a9a9078af571732159b904ad423b03b7cc786
[2014-11-03 15:58:35 - Test] Path: C:\Users\Zain-ul-abdeen\workspace\appcompat_v7\libs\android-support-v4.jar
[2014-11-03 15:58:35 - Test] Length: 758727
[2014-11-03 15:58:35 - Test] SHA-1: efec67655f6db90757faa37201efcee2a9ec3507
[2014-11-03 15:58:35 - Test] Jar mismatch! Fix your dependencies
[2014-11-03 15:58:47 - Test] Found 2 versions of android-support-v4.jar in the dependency list,
[2014-11-03 15:58:47 - Test] but not all the versions are identical (check is based on SHA-1 only at this time).
[2014-11-03 15:58:47 - Test] All versions of the libraries must be the same at this time.
[2014-11-03 15:58:47 - Test] Versions found are:
[2014-11-03 15:58:47 - Test] Path: C:\Users\Zain-ul-abdeen\workspace\Test\libs\android-support-v4.jar
[2014-11-03 15:58:47 - Test] Length: 987314
[2014-11-03 15:58:47 - Test] SHA-1: 9b6a9a9078af571732159b904ad423b03b7cc786
[2014-11-03 15:58:47 - Test] Path: C:\Users\Zain-ul-abdeen\workspace\appcompat_v7\libs\android-support-v4.jar
[2014-11-03 15:58:47 - Test] Length: 758727
[2014-11-03 15:58:47 - Test] SHA-1: efec67655f6db90757faa37201efcee2a9ec3507
[2014-11-03 15:58:47 - Test] Jar mismatch! Fix your dependencies
首先,它是给ActionBarActivity的错误不能得到解决,我试图通过增加外部罐来解决这些问题,然后这些错误来
更新你的adt绑定 – 2014-11-03 11:08:39
@Naveen你能解释一下吗? – 2014-11-03 11:11:09
打开sdk管理器和更新的android sdk工具 – 2014-11-03 11:12:51