Android Eclipse 模拟器:无法访问数据/应用程序
我想删除 Eclipse 中 Android 模拟器上的自定义应用程序。我遵循本指南< /a> 并遇到与 这个问题。我还按照 Arsalan 在第一个答案中提到的方式测试了 root 访问权限,并得到了相同的结果。
我想尝试 Vyomas 方法是否有效,但我不知道删除应用程序的命令。
有人可以帮忙吗?
I wanted to delete my custom apps on the Android emulator in Eclipse. I followed this guide and encountered the same behaviour as described in this question. I also tested the root access the same way Arsalan mentioned in his first answer and got the same result.
I would like to try if Vyomas approach works, but I don't know the command for deleting an app.
Can anyone help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我假设您收到“minesweeper.apk rm 失败,只读文件系统”
如果是这种情况,那么您可以随时按“向上翻页”在主屏幕中调出菜单,然后通过“设置”->“卸载”。应用->管理应用程序
或者你可以继续 comando 风格并使用 androidkit 中的这个,为我工作:
使用 adb shell :
重要提示:如果您尝试从模拟器卸载,则必须从 USB 中拔出设备,否则模拟器不应打开,并且如果您尝试从 G1 设备卸载,则需要将设备插入 PC 的 USB。如果其中任何一个未连接,adb shell 命令将不起作用。
转到 shell 并确保 adb 在 PATH 中:
转到 shell(从 cmd->adb shell 或直接通过终端)
I am assuming you are getting "rm failed for minesweeper.apk, Read-only file system"
If that's the case, then you could always press "page up" to bring up the menu in the homescreen and uninstalled it through Settings -> applications -> Manage Applications
Or you could keep going comando style and use this from androidkit, worked for me:
Using adb shell :
Important: The device has to be unplugged from USB if you are trying to uninstall from the emulator, else emulator should not be open and device needs to be plugged in the USB of the PC if you are trying to uninstall from the G1 Device. If either of them are not connected the adb shell command will not work.
Go to the shell and making sure adb is in PATH:
Go to shell (from cmd->adb shell or directly through a terminal)
如果您想删除设备,不能在启动时重置设备吗?如果您使用 Eclipse 插件来使用模拟器,只需在启动前选择擦除用户数据框即可?
硅
Can you not just reset the device on startup if you want it removed? If your using the Eclipse add-on to use the emulator just select the box to wipe user data before you launch?
Si