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

送分小仙女□ 提交于 2019-12-12 07:25:13

问题


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.


回答1:


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




回答2:


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




回答3:


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.




回答4:


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.




回答5:


You can Google search before and find this: http://www.androiddevelopment.org/2008/11/11/how-to-create-and-use-the-sd-card-with-the-android-emulator/



来源:https://stackoverflow.com/questions/10754195/how-to-create-an-sd-card-image-file-for-the-android-emulator

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