2011-12-13 126 views
0

我在尝试让我的电脑在手机上运行Android应用程序时遇到了很多麻烦。我的电脑运行Ubuntu 11.10,我的手机是HTC Desire 2.2。这里是我在Eclipse中的控制台中得到的错误:应用程序无法在手机上启动。使用Ubuntu 11.10

[2011-12-13 19:35:05 - InitialChoice2] Re-installation failed due to different application signatures. 
[2011-12-13 19:35:05 - InitialChoice2] You must perform a full uninstall of the application. WARNING: This will remove the application data! 
[2011-12-13 19:35:05 - InitialChoice2] Please execute 'adb uninstall com.android.taskreminder' in a shell. 
[2011-12-13 19:35:05 - InitialChoice2] Launch canceled! 

我试过重命名包,但刚刚得到相同的错误。我的手机也处于HTC Sync模式,我尝试改变它。我试图打开adb shell但无济于事。我有点困惑如何在linux中使用它,当我导航到终端中adb所在的目录时,我收到另一个错误,说它不能识别adb命令。我想我不知道如何正确执行“adb uninstall com.android.taskreminder”。任何帮助真的很感激。

+0

你真的改变了包名吗?或者你只是重命名文件?这是两个完全不同的东西。 – kabuko 2011-12-13 18:53:24

+0

我做的不仅仅是改变文件名。但还不够。 – Stagleton 2011-12-13 19:33:56

回答

4

尝试从手机中卸载它。请转到“设置”>“应用程序”>“管理应用程序”查找应用程序名称。选择它。应该有一个选项来卸载它。

如果你想在外壳中使用adb,请尝试使用sudo adb ....

4

尝试先通过手机卸载应用程序。此错误通常是在您以两种不同方式安装应用程序时发生的,因此它具有不同的开发签名,因此无法更新或重新安装。