Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android 4.0 emulator won't start

Tags:

When trying to create and start an Android 4.0 emulator I get the Android emulator skin but the OS doesn't seem to start.

I've installed the ARM EABI v7 package from Android SDK manager at tried to create an emulator, but got an error message about a missing userdata.img file.

I then found that the system $ANDROD_LIB$/system-images/android-14/armeabi-v7a/ library was created and copied these files into $ANDRROID_LIB$/platforms/android-14/images/ after which I could create a the emulator image.

When starting this new emulator this as stated above only shows the Skin (window) but don't start the OS. Im on a Mac, and all previously created emulators still work fine.

like image 324
Henrik Kirk Avatar asked Oct 20 '11 07:10

Henrik Kirk


People also ask

Why Android Emulator is not opening?

If the Android Emulator does not start properly, this problem is often caused by problems with HAXM. HAXM issues are often the result of conflicts with other virtualization technologies, incorrect settings, or an out-of-date HAXM driver. Try reinstalling the HAXM driver, using the steps detailed in Installing HAXM.

Why emulators are not working?

In Android Studio, go to File > Settings > Appearance & Behavior > System Settings > Android SDK . Select the SDK Tools tab and down the list make sure Intel x86 Emulator Accelerator (HAXM installer) is checked. If not, check the box, click Apply and install and restart Android Studio.


2 Answers

A few tips: mine was also taking ages to start up (gave up after about 30mins). Then I compared the settings of my 3.1 AVD and my new 4.0 AVD. Turns out that the hardware property Abstract LCD density setting of the 4.0 AVD is set by default to 240, which means high density. That means a lot of pixels to draw. I read here that that's one of the issues of a slow starting AVD. So I changed that property to be the same as for the 3.1, so it 160. After that, the AVD started about as fast as the 3.1 (several minutes)!

(Also reduced the Device ram size from 512 to 256, but don't think that was the one who fixed it)

like image 165
QQQuestions Avatar answered Oct 21 '22 17:10

QQQuestions


I had the same problem, have you set the GPU acceleration in the emulator option? I have set that in my emulator and the emulator wouldn't start... I was just seeing the frame like you said. Didn't really find a solution to this, except turning off GPU acceleration.

like image 20
Tooroop Avatar answered Oct 21 '22 16:10

Tooroop