由于应用程序签名不同,重新安装失败

发布于 2024-11-02 04:51:15 字数 978 浏览 1 评论 0原文

可能的重复:
为什么 Android 中的应用签名会发生变化类路径更改后?

我开始在 Eclipse 工作区中的几个项目(但不是全部项目)中收到错误。我注意到这是最古老的项目。我找到了该错误的帮助,并构建了自己的 debug.keystore 并将 java 构建路径更改为该文件夹。

现在,当我尝试在模拟器中运行任何项目时,我收到此错误:

[2011-04-19 10:11:20 - enga] Re-installation failed due to different application signatures.
[2011-04-19 10:11:20 - enga] You must perform a full uninstall of the application. WARNING: This will remove the application data!
[2011-04-19 10:11:20 - enga] Please execute 'adb uninstall com.engatest' in a shell.
[2011-04-19 10:11:20 - enga] Launch canceled!

我尝试从模拟器的菜单中删除应用程序,完成操作并将其拖到垃圾桶中,但它没有被删除。

我尝试在终端中运行:adb uninstall com.dwclogic.engatest 但没有找到该命令,adb 可能没有在我的 mac 上全局设置。我是 Mac 新手,不确定如何修复此问题的执行路径,但这是另一个问题。

我在哪里尝试运行这个命令?还有其他方法可以解决这个问题吗?

Possible Duplicate:
Why does the app signature change in Android after a classpath change?

I started getting errors in my Eclipse Workspace for several but not all of my projects. I noticed is was the oldest projects. I found help for the error, and built my own debug.keystore and changed the java build path to that folder.

Now when I try to run any of the projects in an emulator I get this error:

[2011-04-19 10:11:20 - enga] Re-installation failed due to different application signatures.
[2011-04-19 10:11:20 - enga] You must perform a full uninstall of the application. WARNING: This will remove the application data!
[2011-04-19 10:11:20 - enga] Please execute 'adb uninstall com.engatest' in a shell.
[2011-04-19 10:11:20 - enga] Launch canceled!

I tried removing the application from the menu in the emulator, got through the motions and drag it to the trash but it doesn't get removed.

I tried running in terminal: adb uninstall com.dwclogic.engatest
but the command wasn't found, adb probably not setup globally on my mac. I am new to the Mac and am unsure how to get the execute path for this fixed but that's an whole other issue.

where do I try running this command? Is there any other ways to fix this problem.

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

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

发布评论

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

评论(3

  1. 您可以通过“设置”->“应用程序”->“管理应用程序”删除模拟器中的应用程序。在那里您可以看到所有已安装应用程序的列表。如果您随后单击要卸载的应用程序,则会打开一个屏幕,其中包含卸载选项。
  2. 卸载的第二个选项是使用“adb uninstall”。 adb 是一个命令行工具,位于 Android SDK 文件夹下。您可以在名为“platform-tools”的文件夹中找到它。因此,您必须导航到 SDK 安装并使用终端窗口在其中运行 adb。

将图标拖到垃圾桶上不会卸载应用程序。它只会从主屏幕上删除其图标。

  1. You can remove an app in your emulator via Settings->Applications->manage Applications. There you can see a list of all installed apps. If you then click on the app you want to uninstall, a screen opens, with an uninstall option.
  2. A second option for uninstall is the use of "adb uninstall". adb is a command line tool which is located under the Android SDK folder. You can find it there in a folder called "platform-tools". So you have to navigation to your SDK installation and use a terminal window to run adb there.

Dragging an icon onto the trash does not uninstall an app. It only removes it's icon from the home screen.

筱武穆 2024-11-09 04:51:15

当我的物理设备连接到电脑的 USB 端口时,我会收到该错误。如果您的已插入,请尝试拔掉它

I get that error when my physical device is hooked up in my PC's USB port. If yours is plugged in try to unplug it

沉默的熊 2024-11-09 04:51:15

进入设置->应用->管理应用程序 -> “您的应用程序上的选项卡”->卸载

再次从 Eclipse 运行您的应用程序,它肯定会为您工作:)

Go to Settings -> Application -> Manage Application -> "tab on your application" -> uninstall

Run your application from Eclipse again and it'll definitely work for you :)

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