Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error with Android Studio: Cannot launch AVD in emulator

The 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.

I cannot figure out what the issue is. Any help would be greatly appreciated.

Thank you

like image 944
user2843864 Avatar asked Sep 21 '16 16:09

user2843864


1 Answers

set Memory=1024 MB and Internal storage =550 MB I have solved this error for my emulator

enter image description here

like image 181
Saleem Kalro Avatar answered Sep 19 '22 01:09

Saleem Kalro