Igor Soudakevitch Igor Soudakevitch -3 years ago 277
Android Question

How to delete a folder in Android Studio emulator by using Android Device Manager?

Android Device Manager's File Explorer lets me delete any number of files on AVDs but refuses to get rid of folders. Specifically, the minus sign icon whose hovering tooltip says "Delete the selection" stays grayed out no matter what I do. Short of writing an utility app I'm out of options :\ Any suggestions? A little nifty command-line wizardry, perhaps?

Answer Source

How to delete a folder in Android Studio emulator by using Android Device Manager?

That's not available, sorry. Ideally, it would be.

A little nifty command-line wizardry, perhaps?

adb shell gives you a Linux shell onto the device or emulator, so...

adb shell rmdir /whatever/the/directory/path/is

would remove /whatever/the/directory/path/is. Note that the adb program is in your SDK's platform-tools/ directory.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download