Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cannot start Android emulator on Eclipse even though there are no errors

I'm trying to run one of the Android sample apps in Eclipse. I've been through all the possible errors, and now I was finally able to run without any of them. But still, nothing works, and the emulator just has the "android" sign shining on it. The log I have is:

[2011-12-26 21:18:50 - AccelerometerPlayActivity] ------------------------------ 
[2011-12-26 21:18:50 - AccelerometerPlayActivity] Android Launch! 
[2011-12-26 21:18:50 - AccelerometerPlayActivity] adb is running normally. 
[2011-12-26 21:18:50 - AccelerometerPlayActivity] Performing com.example.android.accelerometerplay.AccelerometerPlayActivity activity launch 
[2011-12-26 21:19:26 - AccelerometerPlayActivity] Uploading AccelerometerPlayActivity.apk onto device 'emulator-5554' 
[2011-12-26 21:19:26 - AccelerometerPlayActivity] Installing AccelerometerPlayActivity.apk... 
[2011-12-26 21:19:28 - AccelerometerPlayActivity] Success! 
[2011-12-26 21:19:28 - AccelerometerPlayActivity] Starting activity com.example.android.accelerometerplay.AccelerometerPlayActivity on device emulator-5554 

I already changed the configuration of the AVD, created a new one, etc. Nothing seems of any help Does anyone have any idea?

Thanks

like image 280
n00b programmer Avatar asked Dec 26 '11 19:12

n00b programmer


People also ask

Why is my Android Emulator not working?

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.


2 Answers

I would try to 'downgrade' the emulator.

I'm assuming you aren't programming for the newest android 4.0+ or something like that, (Samsung galexy s is 2.0 or 2.2, I think). When I had that problem it helped me alot.

try it :)

like image 101
Belgi Avatar answered Sep 20 '22 12:09

Belgi


I had similar problem a long time ago. Make sure that path to your android sdk (or adb) doesn't contain any national symbols (cyrillic in my case) except English.

If you using Windows, also check your profile name.

like image 39
Dmitry Zaytsev Avatar answered Sep 22 '22 12:09

Dmitry Zaytsev