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.

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:
libncurses.so.5:
cannot open shared object file

I figured out that the 32bits libs were missing. So I followed
instructions about 32bits needed packages:
http://www.crashcourse.ca/wiki/index.php/The_Android_SDK_on_64-bit_Fedora_12
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 a virtual device called "fake_phone_2_1" and target my
"Hello World" project to 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
----------------------
/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)
----------------------------------------
# .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...

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to