Android eclipse emulator: can't access data/app

1k Views Asked by At

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?

2

There are 2 best solutions below

1
On BEST ANSWER

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
1
On

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