开发者

Delete files from DDMS using command prompt?

开发者 https://www.devze.com 2023-04-05 08:07 出处:网络
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/yourfilenameUse the File Explorer of the Eclipse DDMS p

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.

0

精彩评论

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

关注公众号