Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't I run the android emulator?

I have installed everything like I was told to by the android website and all I keep getting after I create my avd is

"Failed to start emulator: Cannot run program "/home/christopher/Desktop/android-sdk-linux_86//tools/emulator": java.io.IOException: error=2, No such file or directory".

Anybody got any ideas??? I'm running linux if that helps.

like image 912
Chris Avatar asked Sep 02 '10 22:09

Chris


2 Answers

If you're running a 64-bit system, you need to install ia32-libs:

sudo apt-get install ia32-libs
like image 152
hertzsprung Avatar answered Sep 20 '22 16:09

hertzsprung


If you are running Ubuntu 13.10 x64 or the latest Linux Mint x64 then the ia32-libs package is not available anymore. The solution which worked for me without any problems is to:

sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1

Hope this will help!

like image 22
ezpresso Avatar answered Sep 17 '22 16:09

ezpresso