How to create an SD Card image file for the Android emulator? [closed]

£可爱£侵袭症+ 提交于 2019-12-01 03:04:34
Yury

There is a command line program for doing that called mksdcard: https://developer.android.com/studio/command-line/mksdcard.html

Samir Mangroliya

There are already SD Card image files for use with the emulator installed.

If you create an AVD then choose a file path for the SD Card

on My Machine the file path is:

C:\Users\Samir\.android\avd\Android2.2.avd\sdcard

Then, click 'Ok' and save the changes, then this will emulate an SD Card when you run the use the AVD in the Emulator

Can someone please tell me how to do that.

In the AVD Manager, when you create an AVD, fill in a positive integer in the "SD Card" field. This is the size of your SD card in MB.

When you create an emulator there is an Option for SD Card : You can select a file where you want ur SD card, or you can also give size for SD card, so that it will create and SD card image for you on the default android emulator location.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!