Resize Android Emulator Virtual Device
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.
1 2 3 4 5 6 |
# cd ~/.android/avd/<Device> # resize2fs userdata.img 1024M # e2fsck -f userdata-qemu.img # resize2fs userdata-qemu.img 1024M # tune2fs -e continue userdata-qemu.img |