I need to remove a f开发者_C百科ile from the /data/data folder my app added. I am looking at the file with the DDMS in Eclipse.
If DDMS can't , how would I delete it otherwise?
The accepted answer works of course but the question asked how to do it in DDMS, so here it is:
- Ensure your emulator is running and go to DDMS perspective.
- In the Devices window select your emulator
- Then go to Window-->Show View-->File Explorer
- Select the file and click the red minus in the top right of File Explorer to delete the file off the device or emulator.
adb shell rm /path/to/file
精彩评论