Friday, October 8, 2010

How to create sub-folder in SD Card of Android Emulator, using adb

If you want to create sub-folder in SD Card of Android Emulator, Android Debug Bridge(adb) can be used. Android Debug Bridge(adb) is a versatile tool lets you manage the state of an emulator instance or Android-powered device.

With Android Emulator running, start a Terminal (in Linux), switch to the <android sdk>/tools folder. type the command:

$./adb shell "mkdir /sdcard/myFolder"

<android sdk> is the location of your installed android sdk.
myFolder is the folder you want to create.

Related article: Create SD Card in Android Emulator and copy files into, in Eclipse, Emulator and DDMS.


VINEETHPV87 said...

Thank you :)

Anonymous said...

I have tried your approach is getting error like :bash: ./adb: No such file or directory. i am using linux machine this possible in linux.

jitendra patel said...

G2 said:
Thanks for this post.its so easy to make folder in file explorer.

Anonymous said...

./adb , yu are doing it wrong. just type there,

adb shell "mkdir /sdcard/"

replace with the name you want

Anonymous said...

If you see "No such file or directory.", make sure you've allotted some size for the Android Virtual Device's sdcard in the AVD's configuration.