android create sdcard

1. cd tools

2 . mksdcard -l mysdcard 256M e:\mysdcard.img

     -l命令行参数表示虚拟磁盘的卷标,可以没有该参数

3. emulator -avd TestVideo15 -sdcard e:\mysdcard.img

4. add -sdcard e:\mysdcard.img on eclipse

  windows-->preference-->android-->lauch

或 run configuration

5. check whether sdcard created

    adb push test.txt

   adb push test.h264  /sdcard/test.h264 

   

如果成功了, 将可在eclipse中检查文件test.txt是否存在

通过 windows-->show view-->other-->file explorer 找。

你可能感兴趣的:(android create sdcard)