You should not have to disable audio to run the emulator.

I wish I could be sure my proposal would work for this problem, but I
don't: since it is a good idea anyway, I will go ahead and say you
should try removing pulse-audio from your Fedora installation, since
nobody uses it anymore anyway, yet it causes lots of weird problems.

I have a lot fewer audio problems ever since removing pulse about a
month ago. Unfortunately, I can't remember exactly how it is done: try
"yum info pulse-audio" as superuser to see if that gives you the exact
package name to remove. Then remove it with "yum remove <pacakge-
name>"

On Apr 14, 1:34 pm, yodaa <[email protected]> wrote:
> I hopefully found a workaround
> see:http://forums.fedoraforum.org/showthread.php?p=1350997&posted=1#post1...
>
> That's weird but audio is involved is this issue, arguments must
> passed in the run configuration to disable audio:
>
> In Eclipse, "Run" > "Run Configuration" > "Android Application" > "my
> android app" tab > "target tab > "Additionnal Emulator Command Line
> Options" type "-no-audio" + "Apply"
>
> Running the application is now a success:
>
> [2010-04-14 22:16:36 - HelloDroid] Android Launch!
> [2010-04-14 22:16:36 - HelloDroid] adb is running normally.
> [2010-04-14 22:16:36 - HelloDroid] Performing
> com.tests.HelloDroid.HelloDroid activity launch
> [2010-04-14 22:16:36 - HelloDroid] Automatic Target Mode: launching
> new emulator with compatible AVD 'FakePhone_2_1'
> [2010-04-14 22:16:36 - HelloDroid] Launching a new emulator with
> Virtual Device 'FakePhone_2_1'
> [2010-04-14 22:16:37 - HelloDroid] New emulator found: emulator-5554
> [2010-04-14 22:16:37 - HelloDroid] Waiting for HOME
> ('android.process.acore') to be launched...
> [2010-04-14 22:17:32 - HelloDroid] WARNING: Application does not
> specify an API level requirement!
> [2010-04-14 22:17:32 - HelloDroid] Device API version is 7 (Android
> 2.1)
> [2010-04-14 22:17:32 - HelloDroid] HOME is up on device
> 'emulator-5554'
> [2010-04-14 22:17:32 - HelloDroid] Uploading HelloDroid.apk onto
> device 'emulator-5554'
> [2010-04-14 22:17:32 - HelloDroid] Installing HelloDroid.apk...
> [2010-04-14 22:17:45 - HelloDroid] Success!
> [2010-04-14 22:17:45 - HelloDroid] Starting activity
> com.tests.HelloDroid.HelloDroid on device
> [2010-04-14 22:17:58 - HelloDroid] ActivityManager: Starting: Intent
> { act=android.intent.action.MAIN
> cat=[android.intent.category.LAUNCHER]
> cmp=com.tests.HelloDroid/.HelloDroid }
>
> On 26 mar, 21:37, yodaa <[email protected]> wrote:> 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_Fe...
> > 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
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to