2
我正在Eclipse Juno上的一個Android項目上工作,到目前爲止它沒有錯誤,但我無法導出它。我看着Android Console
,我發現這一點:Eclipse Juno jar android依賴項問題
[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文件。
我該如何解決罐子不匹配問題?
你還使用其他庫嗎?額外的庫可能會使用其他版本的Android支持庫,這可能會導致問題。 –
我已經按照@mohax的說明檢查了'/ lib',並且這樣做了。我刪除了另一個罐子。 –