Create sdcard for Android
Two Methods: ADB command in cmd and IDE Interface
1. Run CMD and enter mksdcard-l MyCard 100 m f: \ mysdcard. IMG in the tools directory.
1. Run the mksdcard command to create a new Virtual Disk Under drive F for the simulator. The file name is mysdcard and the suffix can be
For example, MyCard. Tank.
2. The default unit is K. Here, the minimum value of 100 m is greater than 9 m. The maximum value depends on your hard disk. If you want M, I have no objection.
3. The-l command line parameter indicates the volume label of the virtual disk. This parameter does not exist.
Ii. Activate the sdcard ADB command emulator
1. Enter emulator-AVD myadvname-sdcard F: \ mysdcard. IMG in the command line.
3. add content to sdcard cmd
F: \ Android-SDK-Windows \ tools> ADB push F: \ a.mp3/sdcard/a.mp3
You can see
473 kb/s (0 bytes in 2714583.005 S)
You can see your MP3 in music on the simulator interface.
When you start the simulation, you can see that there is a card icon flashing in the upper left corner. It means loading sdcard and starting OK.
Another method is relatively simple:
Steps:
After the file is created, you can see the Virtual File adcard. IMG created with IDE in the corresponding directory, which is the same as that created manually!
OK, write it here! Hope to help you!