Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Creating and Running a Virtual Device

Nicholas Humensky
Nicholas Humensky
2,483 Points

Cannot launch AVD in emulator - ERROR: resizing partition e2fsck failed with exit code 1.

I have made sure that I follow this video exactly when setting up my AVD. Whenever I run the AVD with the x86_64 System Image, I get the following message:

Cannot launch AVD in emulator. Output: Creating filesystem with parameters: Size: 69206016 Block size: 4096 Blocks per group: 32768 ERROR: resizing partition e2fsck failed with exit code 1 Inodes per group: 4224 Inode size: 256 Journal blocks: 1024 Label: Blocks: 16896 Block groups: 1 Reserved block group size: 7 Created filesystem with 11/4224 inodes and 1302/16896 blocks Hax is enabled Hax ram_size 0x60000000 HAX is working and emulator runs in fast virt mode. emulator: Listening for console connections on port: 5554 emulator: Serial number of this emulator (for ADB): emulator-5554 emulator: WARNING: The -scale flag is obsolete and will be ignored.

Whenever I run it with the regular x86 System Image, I get this message:

Cannot launch AVD in emulator. Output: emulator: WARNING: userdata partition is resized from 550 M to 800 M ERROR: resizing partition e2fsck failed with exit code 1 Hax is enabled Hax ram_size 0x60000000 HAX is working and emulator runs in fast virt mode. emulator: Listening for console connections on port: 5554 emulator: Serial number of this emulator (for ADB): emulator-5554 emulator: WARNING: The -scale flag is obsolete and will be ignored.

I have a computer that is a 64-bit system that runs Windows 10. I have tried both the Lollipop 22 x86_64 and Lollipop 22 x86 System Images and they both fail.