Hello,
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:
Code:
Failed to parse the out of 'adb version'
....android-sdk/tools/adb: error while loading shared libraries:
libncurses.so.5:
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:
Code:
# 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:
Code:
[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
/opt/jdk1.6.0_18
/opt/jre1.6.0_18
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
/opt/eclipse
4 ) Android SDK: android-sdk_r05-linux_86
/home/johndoe/android-sdk
5 ) ".bashrc" file (/home/johndoe/.bashrc)
Code:
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
export PATH=${PATH}:/home/johndoe/android-sdk/tools
Help would be appreciated...