我无法调试我的应用程序,更改我的ROM后出现此问题。 探测回原rom并且工作正常,问题在于这个rom
[2013-08-29 10:22:47 - SideMenuTabsTutorial]
[2013-08-29 10:22:47 - SideMenuTabsTutorial] Android Launch!
[2013-08-29 10:22:47 - SideMenuTabsTutorial] adb is running normally.
[2013-08-29 10:22:47 - SideMenuTabsTutorial] Performing com.androidbegin.sidemenutabstutorial.MainActivity activity launch
[2013-08-29 10:22:48 - SideMenuTabsTutorial] Automatic Target Mode: using device 'TA32402UGY'
[2013-08-29 10:22:48 - SideMenuTabsTutorial] Uploading SideMenuTabsTutorial.apk onto device 'TA32402UGY'
[2013-08-29 10:22:49 - SideMenuTabsTutorial] Installing SideMenuTabsTutorial.apk...
[2013-08-29 10:22:50 - SideMenuTabsTutorial] Installation failed due to invalid APK file!
[2013-08-29 10:22:50 - SideMenuTabsTutorial] Please check logcat output for more details.
[2013-08-29 10:22:50 - SideMenuTabsTutorial] Launch canceled!
------------------编辑--------------------
我给这个清理项目,但在我更改ROM之前一切都运行良好没有问题
[2013-08-29 11:04:57 - SideMenuTabsTutorial] Found 2 versions of android-support-v4.jar in the dependency list,
[2013-08-29 11:04:57 - SideMenuTabsTutorial] but not all the versions are identical (check is based on SHA-1 only at this time).
[2013-08-29 11:04:57 - SideMenuTabsTutorial] All versions of the libraries must be the same at this time.
[2013-08-29 11:04:57 - SideMenuTabsTutorial] Versions found are:
[2013-08-29 11:04:57 - SideMenuTabsTutorial] Path: C:\Users\luis\workspace\ABS\libs\android-support-v4.jar
[2013-08-29 11:04:57 - SideMenuTabsTutorial] Length: 271754
[2013-08-29 11:04:57 - SideMenuTabsTutorial] SHA-1: 53307dc2bd2b69fd5533458ee11885f55807de4b
[2013-08-29 11:04:57 - SideMenuTabsTutorial] Path: C:\Users\luis\workspace\SideMenuTabsTutorial\libs\android-support-v4.jar
[2013-08-29 11:04:57 - SideMenuTabsTutorial] Length: 556198
[2013-08-29 11:04:57 - SideMenuTabsTutorial] SHA-1: 4a6be13368bb64c5a0b0460632d228a1a915f58f
[2013-08-29 11:04:57 - SideMenuTabsTutorial] Jar mismatch! Fix your dependencies
[2013-08-29 11:05:08 - SideMenuTabsTutorial] Found 2 versions of android-support-v4.jar in the dependency list,
[2013-08-29 11:05:08 - SideMenuTabsTutorial] but not all the versions are identical (check is based on SHA-1 only at this time).
[2013-08-29 11:05:08 - SideMenuTabsTutorial] All versions of the libraries must be the same at this time.
[2013-08-29 11:05:08 - SideMenuTabsTutorial] Versions found are:
[2013-08-29 11:05:08 - SideMenuTabsTutorial] Path: C:\Users\luis\workspace\ABS\libs\android-support-v4.jar
[2013-08-29 11:05:08 - SideMenuTabsTutorial] Length: 271754
[2013-08-29 11:05:08 - SideMenuTabsTutorial] SHA-1: 53307dc2bd2b69fd5533458ee11885f55807de4b
[2013-08-29 11:05:08 - SideMenuTabsTutorial] Path: C:\Users\luis\workspace\SideMenuTabsTutorial\libs\android-support-v4.jar
[2013-08-29 11:05:08 - SideMenuTabsTutorial] Length: 556198
[2013-08-29 11:05:08 - SideMenuTabsTutorial] SHA-1: 4a6be13368bb64c5a0b0460632d228a1a915f58f
[2013-08-29 11:05:08 - SideMenuTabsTutorial] Jar mismatch! Fix your dependencies
答案 0 :(得分:1)
尝试cleaning
项目。
如果要从某个库导入示例文件,则可能缺少libs
文件夹。
同样清洁项目时,可以查看problem
窗口。它显示了原因或错误。
答案 1 :(得分:0)
从库文件夹中删除support-v4。
已经在你已经添加的外部库中存在一个支持。