我用sdkmanager更新了我的Eclipse,但是我的所有项目都没有运行,并且sdkmanager没有打开进行恢复。请帮忙。错误是:
[2014-05-27 15:00:56 - actionbarprojects] Found 2 versions of android-support-v4.jar in the dependency list,
[2014-05-27 15:00:56 - actionbarprojects] but not all the versions are identical (check is based on SHA-1 only at this time).
[2014-05-27 15:00:56 - actionbarprojects] All versions of the libraries must be the same at this time.
[2014-05-27 15:00:56 - actionbarprojects] Versions found are:
[2014-05-27 15:00:56 - actionbarprojects] Path: D:\Android Tools\sdk\extras\android\support\v7\appcompat\libs\android-support-v4.jar
[2014-05-27 15:00:56 - actionbarprojects] Length: 621451
[2014-05-27 15:00:56 - actionbarprojects] SHA-1: 5896b0a4e377ac4242eb2bc785220c1c4fc052f4
[2014-05-27 15:00:56 - actionbarprojects] Path: D:\Android Tools\Project\actionbarprojects\libs\android-support-v4.jar
[2014-05-27 15:00:56 - actionbarprojects] Length: 556198
[2014-05-27 15:00:56 - actionbarprojects] SHA-1: 4a6be13368bb64c5a0b0460632d228a1a915f58f
[2014-05-27 15:00:56 - actionbarprojects] Jar mismatch! Fix your dependencies
[2014-05-27 15:00:53 - SDK Manager] [SDK Manager] Error: Unable to access jarfile lib\archquery.jar
[2014-05-27 15:00:53 - SDK Manager] [SDK Manager] Invalid path
[2014-05-27 15:00:53 - SDK Manager] [SDK Manager] The system cannot find the file specified.
[2014-05-27 15:00:53 - SDK Manager] [SDK Manager] The system cannot find the file specified.
[2014-05-27 15:00:53 - SDK Manager] [SDK Manager] The system cannot find the file specified.
[2014-05-27 15:00:53 - SDK Manager] [SDK Manager] The system cannot find the file specified.
[2014-05-27 15:00:53 - SDK Manager] [SDK Manager] The system cannot find the file specified.
[2014-05-27 15:00:53 - SDK Manager] [SDK Manager] The system cannot find the file specified.
[2014-05-27 15:00:53 - SDK Manager] [SDK Manager] The system cannot find the file specified.
[2014-05-27 15:00:53 - SDK Manager] [SDK Manager] The system cannot find the file specified.
[2014-05-27 15:00:53 - SDK Manager] [SDK Manager] Access is denied.
答案 0 :(得分:0)
在依赖项列表
中找到2个版本的android-support-v4.jar
您有android-support-v4.jar
的不同版本。从android sdk manager更新您的支持库。
从
复制android-support-v4.jaradt-bundle/sdk/extras/android/support/v4/android-supportv4.jar
并将其添加到AppCompat和Android项目的构建路径中。
您可以将其添加到项目libs文件夹中。
答案 1 :(得分:0)
第1步:您需要从库和项目中删除android-support-v4.jar
。
第2步:从库项目中复制android-support-v4.jar
并粘贴到libs
文件夹中的项目
第3步:现在清理您的项目。
您还可以更新日食工具(ADT Bundle工具)。