Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OSX: Android Emulator Crashes

I've just reinstalled eclipse indigo (32bit) and the latest Android SDK. The Android Emulator crashes immediately after it is launched.

Here are my steps:

  1. Create a new Adroid project. Target is Android 4.0, SDK 14.
  2. Press the Run button in Eclipse.
  3. See the Emulator launch and crash about 2 seconds later

Output of crash window:

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

The Eclipse console complains about the following:

Warning once: This application, or a library it uses, is using NSQuickDrawView,
which has been deprecated. Apps should cease use of QuickDraw and move to Quartz.
goldfish_fb_load: framebuffer dimensions mismatch
savevm: unable to load section goldfish_fb
emulator-5554 disconnected!
Cancelling 'com.sparky1.HelloAnrdroidActivity activity launch'!

Any thoughts about how to get emulator to behave?

like image 648
Sparky1 Avatar asked Sep 08 '25 12:09

Sparky1


2 Answers

This has already been reported as a Bug: http://code.google.com/p/android/issues/detail?id=724

There are some workarounds presented in this post, too. But at this point, there seams to be no actual fix.

like image 200
Lukas Knuth Avatar answered Sep 10 '25 03:09

Lukas Knuth


It looks like this happens when an external monitor is connected. Try disconnecting your external monitor and then start emulator. You can attach it back after the emulator starts.

like image 39
Vikram Bodicherla Avatar answered Sep 10 '25 02:09

Vikram Bodicherla