应用程序不会在手机上启动。使用Ubuntu 11.10

发布于 2024-12-20 22:59:26 字数 751 浏览 1 评论 0原文

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

[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”。非常感谢任何帮助。

I am having a lot of trouble trying to get my computer to run an android app on my phone. My computer is running Ubuntu 11.10 and my phone is HTC Desire running 2.2. Here is the error I am getting in Console in Eclipse:

[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!

I have tried renaming the package but have just gotten the same error. My phone is also in HTC Sync mode and I have tried changing that around. I have tried to open the adb shell but to no avail. I am a bit confused how to use it in linux and when I navigate to the directory in Terminal that the adb is located in, I get another error that says it does not recognize adb command. I suppose I am not sure how to execute "adb uninstall com.android.taskreminder" properly. Any help is really appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

七颜 2024-12-27 22:59:26

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

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

try to uninstall it from your phone. go to "Settings" > "Applications" > "Manage Applications" Look for the application name. Select it. There should be an option to uninstall it.

if you want to use adb in a shell, try sudo adb....

痞味浪人 2024-12-27 22:59:26

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

Try uninstalling the application through the phone first. This error is usually when you have installed the application in two different ways, so it has a different development signature so cannot update or reinstall.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文