0

我想在 Eclipse 的 Android 模拟器上删除我的自定义应用程序。我遵循本指南并遇到了与此问题中所述相同的行为。我还以 Arsalan 在他的第一个答案中提到的相同方式测试了 root 访问权限,并得到了相同的结果。

我想试试 Vyomas 方法是否有效,但我不知道删除应用程序的命令。

任何人都可以帮忙吗?

4

2 回答 2

0

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

于 2011-03-17T12:05:06.510 回答
0

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)

#
#cd data
#cd app
#cd ls
#rm com.company.product.apk
于 2011-03-17T12:05:33.380 回答