0

我正在尝试嵌入slidemenu到支持 android 2.3.3 及更低版本的我的 android 应用程序中。

但我不断收到以下错误。可能是什么问题,我该如何解决

[2013-09-25 08:47:23 - SlidingMenuExample] Found 2 versions of android-support-v4.jar in the dependency list,
[2013-09-25 08:47:23 - SlidingMenuExample] but not all the versions are identical (check is based on SHA-1 only at this time).
[2013-09-25 08:47:23 - SlidingMenuExample] All versions of the libraries must be the same at this time.
[2013-09-25 08:47:23 - SlidingMenuExample] Versions found are:
[2013-09-25 08:47:23 - SlidingMenuExample] Path: D:\Android\library\libs\android-support-v4.jar
[2013-09-25 08:47:23 - SlidingMenuExample]  Length: 385685
[2013-09-25 08:47:23 - SlidingMenuExample]  SHA-1: 48c94ae70fa65718b382098237806a5909bb096e
[2013-09-25 08:47:23 - SlidingMenuExample] Path: D:\Android\SlidingMenuExample\libs\android-support-v4.jar
[2013-09-25 08:47:23 - SlidingMenuExample]  Length: 556198
[2013-09-25 08:47:23 - SlidingMenuExample]  SHA-1: 4a6be13368bb64c5a0b0460632d228a1a915f58f
[2013-09-25 08:47:23 - SlidingMenuExample] Jar mismatch! Fix your dependencies
4

2 回答 2

1

从项目的库中删除 android-support-v4.jar 并尝试清理项目。

于 2013-09-25T06:14:43.683 回答
0

在 Eclipse 中,右键单击项目和库“ Android Tools/Add Support Library... ”,然后清理所有项目

于 2013-11-07T09:27:49.773 回答