Android Remove file with DDMS

Ian Vink picture Ian Vink · Jun 13, 2010 · Viewed 7.5k times · Source

I need to remove a file 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?

Answer

georgiecasey picture georgiecasey · Jan 25, 2012

The accepted answer works of course but the question asked how to do it in DDMS, so here it is:

  1. Ensure your emulator is running and go to DDMS perspective.
  2. In the Devices window select your emulator
  3. Then go to Window-->Show View-->File Explorer
  4. Select the file and click the red minus in the top right of File Explorer to delete the file off the device or emulator.