Android Build Issues – Black Gingerbread Emulator

Symptom: The emulator built directly from the gingerbread branch doesn’t start and stays stuck on a black screen.

Cause: The gingerbread branch uses version R7 of the emulator, which doesn’t have all the features necessary to run recent versions of gingerbread.

Fix: Use version R12 of the emulator, and a newer kernel that matches those tools. No need to do a clean build.

$ repo forall platform/external/qemu -c git checkout aosp/tools_r12
$ make
$ emulator -kernel prebuilt/android-arm/kernel/kernel-qemu-armv7


Leave a Reply

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