Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: Change Emulator's SD Card

Tags:

android

Is it possible to make changes to the sdcard being used in an Android Emulator? For instance, I'd like to change the size of the SD card being used in the emulator.

like image 664
dhulihan Avatar asked Aug 03 '10 15:08

dhulihan


1 Answers

In the avd directory, which is in the following location:

Windows:
%userprofile%.android\avd\<avd-name-here>

There is a file called sdcard.img. you can replace that with the new image file.

you can create a new sdcard image file by using mksdcard in the android-sdk/tools

usage: mksdcard [-l label] <size> <file>

like image 159
Ryan Conrad Avatar answered Nov 03 '22 18:11

Ryan Conrad