Question

I am facing one more issue with the emulator.

First I faced the problem in creating emulator (Nexus 7) with the message

emulator: Failed to open the HAX device! HAX is not working and emulator runs in emulation mode emulator: Open HAX device failed Failed to allocate memory: 8 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

After following the instructions in of the post here, I able to create the nexus emulator.

After running the created emulator and tapping on menu it redirects to Menu screen (list of installed application on emulator), since it is a newly created and guide screen appears on the screen (see the screenshots), clicking on “OK” button the menu screen simply crashes with the message “unfortunately ,launcher has stopped”, check the below screens I have attached.

Let me know, if I can provide any more information regarding this to get it solved.

Note: using Android SDK Tool – 21.0.1 First screen list of apps crash

Was it helpful?

Solution

There seems to be a weird bug on Nexus 7 emulator. When you open the emulator, it shows opens drawer and shows "Choose some apps". There instead of pressing OK button, if you actually press and hold the Custom Locale icon it is showing and drop it to the main screen, the launcher stops crashing. It seems weird but when I did it, the crash stopped. This needs to be done the first time only. Then on, emulator opens normally.

OTHER TIPS

This problem happens because of the AVD skin path not properly assigned in AVD's config.ini

For Ex. My AVD name is AVD_4.0.3_WSVGA

before fix

skin.path=AVD_4.0.3_WSVGA

so I changed skin path as follows

skin.path=platforms/android-15/skins/WSVGA

you can find config.ini

in linux(Ubuntu) /home/[username]/.android/avd/[you avd name]/config.ini

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top