开发者

Android emulator sound - ubuntu

Using Ubuntu开发者_JAVA百科 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?


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.


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.


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

Hint: /dev/eac

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜