01 December, 2010

Android emulator on fc14 x64 not working

I was testing Android sdk on a dell laptop with fc14 x64. Android SDK still relies on 32 bit stuff, therefore I got some errors while installing then testing the emulator:

$ ./emulator @SansungGalaxyS
SDL init failure, reason is: No available video device

I got a good advice from a quite old forum entry:

Problems are 32 bit libraries missing. I didn't need to install all stuff they say, I traced a bit the binary file and found the libraries missing:

$ strace ./emulator

Then:
# yum yum provides libXrender.so.1
# yum provides libXext.so.6
# yum install libXrender-0.9.6-1.fc14.i686 libXext-1.1.2-2.fc14.i686

it installs some other dependent packages.

Finally gotcha! Again started the emulator and worked fine!