Eclipse Juno jar安卓依赖项问题

时间:2015-09-26 15:44:04

标签: java android eclipse

我正在Eclipse Juno上开发一个android项目,到目前为止它没有错误,但是我无法导出它。我看了Android Console,我发现了这个:

[2015-09-26 23:30:22 - HandGestureApp] Found 2 versions of android.jar in the dependency list,
[2015-09-26 23:30:22 - HandGestureApp] but not all the versions are identical (check is based on SHA-1 only at this time).
[2015-09-26 23:30:22 - HandGestureApp] All versions of the libraries must be the same at this time.
[2015-09-26 23:30:22 - HandGestureApp] Versions found are:
[2015-09-26 23:30:22 - HandGestureApp] Path: D:\installers\SDK\adt-bundle-windows-x86-20131030\adt-bundle-windows-x86-20131030\sdk\platforms\android-19\android.jar
[2015-09-26 23:30:22 - HandGestureApp]  Length: 21841425
[2015-09-26 23:30:22 - HandGestureApp]  SHA-1: 9d58c29f33a93f486da30401118a4e45a7f208cb
[2015-09-26 23:30:22 - HandGestureApp] Path: D:\installers\SDK\adt bundle 23\sdk\platforms\android-20\android.jar
[2015-09-26 23:30:22 - HandGestureApp]  Length: 21314433
[2015-09-26 23:30:22 - HandGestureApp]  SHA-1: 066aafa1a95681f4ff7280f162157ffeb2093e84
[2015-09-26 23:30:22 - HandGestureApp] Jar mismatch! Fix your dependencies

我在Java Build Path检查了Project Properties,其中只有1个jar文件。

如何修复Jar不匹配?

1 个答案:

答案 0 :(得分:1)

检查库项目中/libs文件夹中的jar文件,连接到您的主项目。