Delete files from DDMS using command prompt?
I'm trying to delete some files from DDMS data/data/package_name/files/filename
How can i done t开发者_开发知识库his?
adb shell rm /yourpath/to/yourfilename
Use the File Explorer of the Eclipse DDMS plugin or the adb shell
command from your android platform tools to browse and delete the file system on your device.
You can use ADB to get into the device/emulator shell and then execute normal linux-commands.
In your case, you would use rm
to remove something (if you want to remove a folder use the -r
parameter).
From the Android Docs:
Internal Storage
You can save files directly on the device's internal storage. By default, files saved to the internal storage are private to your application and other applications cannot access them (nor can the user). When the user uninstalls your application, these files are removed.
This might help you. You can also check if you can "delete application data" in Androids Application Manager.
精彩评论