Reputation: 1957
I have built the Android source for the emulator. I need to add sdcard to this emualtor.
Following are the commands, I use after the first full build:
source build/envsetup.sh
lunch 1
mmm packages/apps/MyApp/
adb sync
adb remount
However, I am unable to see the emulator in /mnt/sdcard path
What are the steps or commands, I need to use, in order to create an sdcard, when I use the emulator(with the commands above) built from Android source code.
I have been stuck with this issue for sometime. Any help is much appreciated.
Upvotes: 0
Views: 3256
Reputation: 5258
after executing
$ make -j4
execute
$ mksdcard -l mySdCard 1024M mySdCardFile.img
and then
$ emulator -sdcard mySdCardFile.img
Upvotes: 2
Reputation: 1855
You have to go to the Android Virtual Device Manager, create your own or use an existing one and click the "Edit" button.
Then add some MB to your virtual SD Card.
Once started you can go to DDMS tab, then File Transfer tab and SDCard folder ;)
Upvotes: 1