我开始说“我讨厌日食”。昨天:我的项目进展顺利,没有任何错误。都完美!好的,我关闭了 Eclipse,关闭了我的电脑,然后我就上床睡觉了。今天:我开始我的日食和惊喜!!!我的 5 个项目中有 10000000 个错误!所有人都说,当我将鼠标悬停在 MainActivity 或其他活动上时;
The hierarchy of the type MainActivity is inconsistent
.
现在,我快疯了,因为我需要这些项目!请问有人可以帮我吗?这种情况太烦人了。
编辑:看着控制台我明白了:
Found 2 versions of android-support-v4.jar in the dependency list,
[2013-10-25 10:21:44 - AppTemplate] but not all the versions are identical (check is based on SHA-1 only at this time).
[2013-10-25 10:21:44 - AppTemplate] All versions of the libraries must be the same at this time.
[2013-10-25 10:21:44 - AppTemplate] Versions found are:
[2013-10-25 10:21:44 - AppTemplate] Path: C:\Users\davide\Desktop\MyAppbattstats\libs\android-support-v4.jar
[2013-10-25 10:21:44 - AppTemplate] Length: 556198
[2013-10-25 10:21:44 - AppTemplate] SHA-1: 4a6be13368bb64c5a0b0460632d228a1a915f58f
[2013-10-25 10:21:44 - AppTemplate] Path: C:\Users\davide\Desktop\SlidingMenu-master\library\libs\android-support-v4.jar
[2013-10-25 10:21:44 - AppTemplate] Length: 385685
[2013-10-25 10:21:44 - AppTemplate] SHA-1: 48c94ae70fa65718b382098237806a5909bb096e
[2013-10-25 10:21:44 - AppTemplate] Jar mismatch! Fix your dependencies