Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rraallvv/75df1a13f2d3b5ead222b4a6464aa76e to your computer and use it in GitHub Desktop.
Save rraallvv/75df1a13f2d3b5ead222b4a6464aa76e to your computer and use it in GitHub Desktop.
Change Android Emulator Storage Size
# Navigate to AVD
cd ~/.android/avd/<device dir>
# Delete old image
#rm userdata-qemu.*
# Re-size the images
e2fsck -f userdata-qemu.img
resize2fs userdata-qemu.img 512M
e2fsck -f userdata.img
resize2fs userdata.img 512M
# Fix problems
e2fsck -f userdata-qemu.img
tune2fs -e continue userdata-qemu.img
e2fsck -f userdata.img
tune2fs -e continue userdata.img
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment