由于应用程序签名不同,重新安装失败 [英] Re-installation failed due to different application signatures

查看:547
本文介绍了由于应用程序签名不同,重新安装失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

为什么在类路径更改后Android中的应用程序签名已更改?

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

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.

我尝试在终端中运行: adb uninstall com.dwclogic.engatest
但是没有找到命令,adb可能不会在我的mac全局设置。我是Mac的新手,不知道如何获得这个固定的执行路径,但这还是一个其他问题。

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.

推荐答案


  1. 你可以在你的模拟器中删除一个应用程序通过设置 - >应用程序 - >管理应用程序。在那里,您可以看到所有安装的应用程序的列表。如果您点击要卸载的应用程序,将打开一个屏幕,并显示一个卸载选项。

  2. 第二个卸载选项是使用adb uninstall。 adb是位于Android SDK文件夹下的命令行工具。您可以在名为platform-tools的文件夹中找到它。所以你必须导航到你的SDK安装,并使用一个终端窗口来运行adb。

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

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

这篇关于由于应用程序签名不同,重新安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆