I decided to install my Android development environment on my second OS: Fedora 12 x_86_64 (KDE) with proprietary NVIDIA Drivers. My distribution is up to date. I'm currently using Android SDK on my Windows XP without problems.
SUN Java JRE, JDK and Eclipse Galileo EE are installed, Android SDK 2.1, ADT eclipse plugin , android SDK tools, Google APIs... are up to date. I also set up the ~bashrc file for my current user.
I tried to create a new Android project (Hello World flavour) and get the following error:
Failed to parse the out of 'adb version'
....android-sdk/tools/adb: error while loading shared libraries:
cannot open shared object file
I figured out that tsome 32bits libs were missing. So I followed
instructions about 32bits needed packages on this tutorial
and installed them:
# yum install glibc.i686
# yum install glibc-devel.i686
# yum install libstdc++.i686
# yum install zlib-devel.i686
# yum install ncurses-devel.i686
# yum install libX11-devel.i686
I restarted Eclipse, the previous error message disappeared. I created an Android virtual device called "fake_phone_2_1" and target my "Hello World" project for Android 2.1. So created my project (HelloDroid), and ran it. The emulator didn't showed up, even after a few minutes.
I got no error or warning... I'm missing something here.
Console output within Eclipse:
[2010-03-26 20:09:07 - HelloDroid] Android Launch!
[2010-03-26 20:09:08 - HelloDroid] adb is running normally.
[2010-03-26 20:09:08 - HelloDroid] Performing
com.tests.HelloDroid.HelloDroid activity launch
[2010-03-26 20:09:08 - HelloDroid] Automatic Target Mode: launching
new emulator with compatible AVD 'FakePhone_2_1'
[2010-03-26 20:09:08 - HelloDroid] Launching a new emulator with
Virtual Device 'FakePhone_2_1'
Please find below somemore information about my environement setup:
1 ) JRE and JDK location
2 ) SUN JAVA version
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)
3 ) Eclipse Galileo IDE for Java EE Developers
4 ) Android SDK: android-sdk_r05-linux_86
5 ) ".bashrc" file (/home/johndoe/.bashrc)
# Source global definitions
if [ -f /etc/bashrc ]; then
# User specific aliases and functions
Help would be appreciated...