Android emulator sound - ubuntu
Asked Answered
U

3

8

Using Ubuntu 10.04 64 bits for Android development and everything goes well except sound.

I've using -audio option and -audio-out one with alsa as backend parameter, but without luck.

¿Any idea?

Uninhibited answered 11/9, 2010 at 6:20 Comment(3)
Did you find out how to solve this problem? I have stumble upon this too...Cal
Still haven't found a solution.Uninhibited
Problem persists in Ubuntu 16.10 64-bitOldtimer
D
3

I'm setting up Android SDK on Ubuntu 10.04 64-bit and found the emulator segfaults on launch unless I specify "-no-audio" option.

This thread describes similar issues under Fedora: https://groups.google.com/forum/?fromgroups=#!topic/android-developers/nL11no1Z87w

Both that thread, and one of the answers here suggest installing some extra ALSA / PulseAudio packages/libs.

However I found none of the ones mentioned appear to exist in the Ubuntu 10.04 repositories.

So for now I'm sticking with no-audio as an effective workaround allowing me to actually run the emulator. But then audio is not a priority for me...

Note an alternative of the command line "-no-audio" option is to tweak the Android Virtual Device in AVD manager and add "Audio Playback Support: no" and "Audio Recording Support: no" under "Hardware". With these changes I could then start the emulator from Eclipse and run my application in it.

Domash answered 8/11, 2012 at 15:57 Comment(0)
D
1

Make sure you have 32bit sound packages installed if you are using a 64bit linux os, such as libalsa-plugins and libalsa-plugins-pulseaudio as well as their 64bit counterparts.

Darryldarryn answered 2/3, 2011 at 17:52 Comment(1)
how to install them? there are no such packages in apt repository.Oldtimer
R
-1

android emulator does not ship alsa but uses a wrapper qemu sound module :

Hint: /dev/eac

-- http://rzr.online.fr/q/alsa

Rarely answered 1/12, 2011 at 9:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.