Chris Piazza
Chris Piazza

Reputation: 251

Android emulator fails to start after closing

Using Eclipse (4.2.1) with Android SDK and Virtual Device Manager installed, I'm able to successfully launch the emulator with a device image, run code, etc, etc - however, if I close the emulator any subsequent attempts to restart it fail with the following error:

emulator: Failed to open the hax module
HAX is not working and emulator runs in emulation mode

If I recreate the virtual device and overwrite the existing definition, it will start again (but just the one time). Running OSX 10.8.2, and the AVD is 4.2, Level 17.

Any ideas what's going on here?

Upvotes: 2

Views: 1397

Answers (1)

Chris Piazza
Chris Piazza

Reputation: 251

Feh... figured it out. I have multiple screens and the issue only happens after I move the emulator to one of the secondary monitors. In that case, a negative position value is getting written to emulator-user.ini. Deleting the file fixes the problem (or just leaving the emulator on the main laptop screen).

Found it in this issue on code.google.com

Upvotes: 1

Related Questions