0

我无法调试我的应用程序,更改我的 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
4

2 回答 2

1

试试cleaning这个项目。

libs如果您从某个库中导入示例文件,您可能会丢失文件夹。

此外,当您清理项目时,您可以检查problem窗口。它显示了错误的原因或错误。

于 2013-08-29T14:57:19.680 回答
0

从您的库文件夹中删除 support-v4。

您添加的外部库中已经存在一种支持。

于 2013-08-29T16:26:47.537 回答