AVD Emulator crashes on MAC ( emulator64-arm quit unexpectedly )

I recently got back into doing some android development. Its been an adjustment period to say the least. One of those adjustments has been the slight differences of working on a Mac. I came across a bug today, that baffled me for a while and required some of my best “google-fu” to figure out.

I ended up at this site: http://code.google.com/p/android/issues/detail?id=38371

The problem is essentially the AVD manager can’t re-open a virtual device that was on a second monitor on a Mac. The work around is to edit the following file

~/.android/avd/.avd/emulator-user.ini

 

and change the

window.x=0

That’s it.  It’s an ugly hack, but it works for now.  According to the bug report it should be fixed with the next release of the android developer tools. ( http://developer.android.com )

18 Replies to “AVD Emulator crashes on MAC ( emulator64-arm quit unexpectedly )”

  1. Thanks for this – the emulator was still crashing for me – I have TWO secondary monitors, and the Y position was a negative number. Was still crashing after setting window.x = 0.

    So, I also had to set window.y = 0 and everything is fine again.

  2. Thanks for the post.
    Just an update on this,
    It still has not been fixed.
    The structure has changed and all the emulator-user.ini is now within the .avd file in the same directory you described.

    Thanks for the time saver!

Leave a Reply

Your email address will not be published. Required fields are marked *