Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Remove file with DDMS

Tags:

android

ddms

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?

like image 560
Ian Vink Avatar asked Jun 13 '10 20:06

Ian Vink


2 Answers

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.
like image 148
georgiecasey Avatar answered Oct 07 '22 19:10

georgiecasey


adb shell rm /path/to/file
like image 36
zed_0xff Avatar answered Oct 07 '22 18:10

zed_0xff