由于应用程序签名不同,重新安装失败
我开始在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
将图标拖到垃圾桶上不会卸载应用程序。它只会从主屏幕上删除其图标。
Dragging an icon onto the trash does not uninstall an app. It only removes it's icon from the home screen.
当我的物理设备连接到电脑的 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
进入设置->应用->管理应用程序 -> “您的应用程序上的选项卡”->卸载
再次从 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 :)