首页 > 代码库 > Android错误
Android错误
1.
[2016-09-16 14:25:45 - X_Card] Found 2 versions of android-support-v4.jar in the dependency list,
[2016-09-16 14:25:45 - X_Card] but not all the versions are identical (check is based on SHA-1 only at this time).
[2016-09-16 14:25:45 - X_Card] All versions of the libraries must be the same at this time.
[2016-09-16 14:25:45 - X_Card] Versions found are:
[2016-09-16 14:25:45 - X_Card] Path: D:\JAVA\Android_eclipse\workspace-kechengsheji\X_Card\libs\android-support-v4.jar
[2016-09-16 14:25:45 - X_Card] Length: 621451
[2016-09-16 14:25:45 - X_Card] SHA-1: 5896b0a4e377ac4242eb2bc785220c1c4fc052f4
[2016-09-16 14:25:45 - X_Card] Path: D:\JAVA\Android_eclipse\workspace-kechengsheji\appcompat_v7\libs\android-support-v4.jar
[2016-09-16 14:25:45 - X_Card] Length: 648327
[2016-09-16 14:25:45 - X_Card] SHA-1: ded9acc6a9792b8f1afc470f0c9cd36d178914cd
[2016-09-16 14:25:45 - X_Card] Jar mismatch! Fix your dependencies
原因:android-support-v7-appcompat.jar 中是包含了 android-support-v4.jar的
解决办法:
1、解除与 v7支持包的联系,可以解除,对于新手不建议,可能会产生另外一些错误。
2、直接删除 lib下的android-support-v4.jar 包——再clean下
2.[2016-09-16 14:37:31 - Dex Loader] Unable to execute dex: Multiple dex files define Lcn/bmob/v3/listener/XListener;
删除其中一个之后clean下
Android错误