Lately I had to increase the size of an Android Emulator Virtual Device. I couldn’t simply recreate the device, cause I wanted to reserve all data and applications installed. Since it took me some while to figure out and find the instructions to do this, I decided to create this small Blog Post for future references.
To increase the size of a virtual device on Linux you can use the following commands.
# cd ~/.android/avd/<Device>
# resize2fs userdata.img 1024M
# e2fsck -f userdata-qemu.img
# resize2fs userdata-qemu.img 1024M
# tune2fs -e continue userdata-qemu.img