Sunday, January 1, 2012

How to increase the internal partition size an emulated android device

By default the Android emulator will run only using a small amount of memory and you'll run out quick. Here's how to increase the memory size without recreating your emulation avd

-partition-size 512

Example Script

ff@shoryuken:~/android-sdks/tools$ more phoneup.sh

#Phone up script
#device A
sudo umount /home/ff/android-sdks/tools/a
sudo mount -o loop smsAC /home/ff/android-sdks/tools/a
./emulator -partition-size 512 -avd smsA -sdcard ./smsAC &
ff@shoryuken:~/android-sdks/tools$

No comments:

Post a Comment