Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

emulator.exe has stop working?

I try to run an android example but i keep getting: emulator.exe has stop working.

This is the console lines:

[2011-02-11 10:14:49 - Teste] New emulator found: emulator-5554
[2011-02-11 10:14:49 - Teste] Waiting for HOME ('android.process.acore') to be launched...
[2011-02-11 10:14:49 - Emulator] 
[2011-02-11 10:14:49 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2011-02-11 10:14:49 - Emulator] Please contact the application's support team for more information.
[2011-02-11 10:14:51 - Emulator] Bad ram offset 74116c00
[2011-02-11 10:14:51 - Emulator] emulator: warning: opening audio input failed
[2011-02-11 10:14:51 - Emulator] 
[2011-02-11 10:14:51 - Emulator] emulator: emulator window was out of view and was recentred
[2011-02-11 10:14:51 - Emulator] 
[2011-02-11 10:14:51 - Teste] emulator-5554 disconnected! Cancelling 'com.example.android.apis.ApiDemos activity launch'!

You know what is this?

Thank you.

like image 245
Andreia Avatar asked Feb 11 '11 10:02

Andreia


People also ask

What do I do if my emulator is not working?

If the emulator fails to launch due to the error vulkan-1. dll cannot be found , you probably need to update the emulator. To update the emulator in Android Studio, go to Tools > SDK Manager and install the latest stable version of Android platform.

Why is my emulator stuck?

Fix 1 – Stop Emulator from AVD Manager From Android Studio, select “Tools” > “Android” > AVD Manager. Right-click the emulator you are using, then choose “Stop“. Try running the emulator again.

Why is my AVD not working?

In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled". Go to your BIOS settings and enable Hardware Virtualization. Restart Android Studio and then try to start the AVD again.

Why AVD Manager is not working?

SDK Build Tools are not installed If it fails then you may have to install it again. You look at the build tab at the bottom of the screen, it will display the error message and option to install the Build tools. Install it and you should be able to see the AVD Manager. Another way is to go to the SDK Manager.


1 Answers

I too had the Same Problem,

Now i got the solution while searching the internet.

Solution: Edit the Device settings and change the RAM allocation to a lower number. If it was 1024 or More, reduce it to 512Mb or 256Mb

You can Change it in "Edit Android Virtual Device (AVD)" dialog's Hardware Section --> Device ram size

like image 91
Prakash Avatar answered Oct 04 '22 08:10

Prakash