Android: emulator does not start

I am trying to create a simple application. I created a new AVD. I launched it. I waited an hour, but the emulator only shows ANDROID. I am stuck. Maybe someone can help.

Image of how it is for an hour stuck Please do not mark duplicate. I searched and tried as much as possible.

Is there something I'm doing wrong? Help me please!

Create my emulator emulator creation

I ran AVD again and got this log. I think that someone can definitely find the mistake I am making from this.

Creating a file system with parameters:

ERROR: couldn't get path to resize2fs binary Size: 576716800 Block size: 4096 Blocks per group: 32768 Inodes per group: 7040 Inode size: 256 Journal blocks: 2200 Label: Blocks: 140800 Block groups: 5 Reserved block group size: 39 Created filesystem with 11/35200 inodes and 4536/140800 blocks Creating filesystem with parameters: Size: 69206016 Block size: 4096 Blocks per group: 32768 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 emulator: device fd:780 HAXM is not working and emulator runs in emulation mode emulator: The memory needed by this AVD exceeds the max specified in your HAXM configuration. emulator: AVD RAM size = 1536 MB emulator: HAXM max RAM size = 1024 MB emulator: You might want to adjust your AVD RAM size and/or HAXM configuration to run in fast virt mode. creating window 23 46 193 322 emulator: UpdateCheck: current version '24.4.0', last version '24.4.0' 
+5
source share
5 answers

The frame allocated for avd is greater than the RAM allocated for HAXM. Either increase the amount of RAM HAXM (not a good idea if you have 4 GB of RAM on your PC), or reduce the amount of your AVD to 1024 mb or lower.

I suggest creating an emulator for some old device configuration, such as nexus s, and using X86 images.

Post additional requests if this dose does not work.

+3
source

Open AVD Manager and edit your device and check your chosen CPU. Try using Intel Atom.

Also, did you install HAXM?

0
source

It is impossible to tell without knowing the AVD settings or PC configuration, but if I had suggested that the main reason could be the amount of RAM that you provided in AVD or Android Studio. If the amount of RAM that you specified for AVD is too low, loading the OS will take time, just as a PC with low RAM takes longer to load.

0
source

please check that your emulator API level is <= android: minSdkVersion in your manifest. Try starting another AVD by clicking Tools> Android> AVD Manager .

0
source

In my case, I started the Windows virtual machine, turned off this machine, and solved your problem with the Android emulator. Luck

0
source

Source: https://habr.com/ru/post/1233366/


All Articles