开发者

Android Remove file with DDMS

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:

  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.


adb shell rm /path/to/file
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜