Gentoo Archives: gentoo-user

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Android studio emulator without PulseAudio
Date: Thu, 01 Nov 2018 00:08:31
Message-Id: 20181101030814.363090e1ccfc80b069726b9a@gentoo.org
In Reply to: Re: [gentoo-user] Android studio emulator without PulseAudio by Pouru Lasse
1 On Tue, 30 Oct 2018 11:53:33 +0000 Pouru Lasse wrote:
2 > "Davyd McColl" <davydm@×××××.com> writes:
3 >
4 > > Would apulse not do the trick?
5 > >
6 > > -d
7 > > On 2018-10-30 11:15:14, Pouru Lasse <lasse.pouru@××××××××××××.fi> wrote:
8 > >
9 > > Is it possible to run the emulator included with Android Studio without
10 > > having PulseAudio installed? When I try to launch the emulator, it
11 > > instantly crashes because it can't find libpulse.so.0. My QEMU package
12 > > is compiled without PulseAudio, but Android SDK comes with its own
13 > > version of QEMU.
14 > >
15 > > Setting QEMU_AUDIO_DRV=none, as instructed in Android Studio manual,
16 > > seems to have no effect, and the Gentoo wiki page on Android Studio just
17 > > tells you to install PulseAudio.
18 > >
19 > > I don't mind having no audio at all, I just don't want to install
20 > > PulseAudio. Any options?
21 > >
22 > > - Lasse
23 >
24 > I already had apulse installed, but apparently the emulator doesn't look
25 > for the library in the right directory. I copied all the libpulse.*
26 > files under ~/Android/Sdk/emulator/lib/ and
27 > ~/Android/Sdk/emulator/lib64/ and now it seems to work.
28
29 You should run emulator as:
30 $ apulse command_to_run_emulator
31
32 Or install the latest apulse with USE=sdk.
33
34 Best regards,
35 Andrew Savchenko

Replies

Subject Author
Re: [gentoo-user] Android studio emulator without PulseAudio Pouru Lasse <lasse.pouru@××××××××××××.fi>