Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th April 2010, 06:49 PM
nozz Offline
Registered User
 
Join Date: Oct 2009
Posts: 9
linuxfedorafirefox
Unhappy Android SDK : Emulator don't show up (Fedora 12 x86_64)

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...

Last edited by nozz; 9th April 2010 at 06:54 PM.
  #2  
Old 10th April 2010, 01:14 PM
nozz Offline
Registered User
 
Join Date: Oct 2009
Posts: 9
linuxfedorafirefox
Re: Android SDK : Emulator don't show up (Fedora 12 x86_64)

I removed the line:
Code:
export PATH=${PATH}:/home/johndoe/android-sdk/tools
from my ".bashrc" file (under /home/johndoe/.bashrc)
Instead I edited the ".bash_profile" (under /home/johndoe/.bash_profile) :
Code:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/home/johndoe/android-sdk/tools
export PATH
I launched the "adb logcat" command in a terminal and run my project in Eclipse

1 ) Console output in Eclipse
Code:
[2010-04-10 14:01:47 - HelloDroid] Android Launch!
[2010-04-10 14:01:47 - HelloDroid] adb is running normally.
[2010-04-10 14:01:47 - HelloDroid] Performing com.tests.HelloDroid.HelloDroid activity launch
[2010-04-10 14:01:47 - HelloDroid] Automatic Target Mode: launching new emulator with compatible AVD 'FakePhone_2_1'
[2010-04-10 14:01:47 - HelloDroid] Launching a new emulator with Virtual Device 'FakePhone_2_1'
2 ) ADB output:
Code:
adb logcat
- waiting for device -
I seems that the emulator is not launched...
  #3  
Old 12th April 2010, 08:30 PM
Ujeen Offline
Registered User
 
Join Date: May 2007
Location: Russia, Moscow
Age: 37
Posts: 63
linuxfedorafirefox
Re: Android SDK : Emulator don't show up (Fedora 12 x86_64)

After spending a couple of pleasant hours with sex machine named Fedora 12 x86_64 saying "oops" and "ouch" I've learned that android emulator doesn't start because of sound issues (http://www.mail-archive.com/android-.../msg07074.html).

When you launch your test example in Eclipse add
-no-audio line into "Additional Emulator Command Line Option" in the "Run Configuration" window.

Here is my screen
http://data11.gallery.ru/albums/gall...7-m750x740.jpg

Last edited by Ujeen; 12th April 2010 at 08:45 PM.
  #4  
Old 14th April 2010, 09:17 PM
nozz Offline
Registered User
 
Join Date: Oct 2009
Posts: 9
linuxfedorafirefox
Thumbs up Re: Android SDK : Emulator don't show up (Fedora 12 x86_64)

Thanks your post, I never imagined that audio was involved... This issue drived me crazy.

wow. What a great ninja tip!
Closed Thread

Tags
eclipse, fedora 12, java, x86_64

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Android Phone & Fedora teancum144 Hardware & Laptops 3 22nd March 2010 12:32 AM
qemu 32bit, android SDK, and Fedora 11 Magice Using Fedora 2 28th December 2009 12:05 PM
Problem in starting Android Emulator justdo Using Fedora 0 16th December 2009 03:03 PM
Anyone been able to make Gelide on Fedora? Any emulator front-ends for Fedora? zylogz80 Gamers' Lounge 5 5th July 2009 06:41 AM
Palm Emulator in Fedora 3 vedanta Using Fedora 0 16th May 2005 10:36 AM


Current GMT-time: 11:46 (Friday, 22-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat