我使用 File/New/Project/Android Project/Create Project Existing Samples 从 android-sdk 文件夹中导入了 ApiDemos。当我尝试运行其中任何一个时,出现此错误:

[2011-06-09 10:03:34 - ApiDemos] 由于应用程序签名不同,重新安装失败。
[2011-06-09 10:03:34 - ApiDemos] 您必须完全卸载应用程序。警告:这将删除应用程序数据!
[2011-06-09 10:03:34 - ApiDemos] 请在 shell 中执行“adb uninstall com.example.android.apis”。

我该怎么办?谢谢 !

最佳答案

从模拟器中删除现有版本的 Api Demos。进入设置 -> 应用程序 -> 管理应用程序,点击 Api Demos 并卸载它。

然后重新运行 Api Demos。

希望这有帮助!!!

关于android - 在 Eclipse 中运行 ApiDemos 的问题,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/6294165/

10-09 01:45