How to create an SD Card image file for the Androi

2020-03-09 07:22发布

I need to create an SD Card image file for an Android emulator that I am running. Given that I am a beginner at Android development, a complete step-by-step tutorial would be awesome.

5条回答
虎瘦雄心在
2楼-- · 2020-03-09 07:41

Wge

When you create a virtual device 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.

查看更多
闹够了就滚
4楼-- · 2020-03-09 07:46

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.

查看更多
姐就是有狂的资本
5楼-- · 2020-03-09 07:49

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

查看更多
你好瞎i
6楼-- · 2020-03-09 07:53

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

查看更多
登录 后发表回答