* [gentoo-user] Android studio emulator without PulseAudio
@ 2018-10-30 9:15 Pouru Lasse
2018-10-30 11:20 ` Davyd McColl
0 siblings, 1 reply; 6+ messages in thread
From: Pouru Lasse @ 2018-10-30 9:15 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
Is it possible to run the emulator included with Android Studio without
having PulseAudio installed? When I try to launch the emulator, it
instantly crashes because it can't find libpulse.so.0. My QEMU package
is compiled without PulseAudio, but Android SDK comes with its own
version of QEMU.
Setting QEMU_AUDIO_DRV=none, as instructed in Android Studio manual,
seems to have no effect, and the Gentoo wiki page on Android Studio just
tells you to install PulseAudio.
I don't mind having no audio at all, I just don't want to install
PulseAudio. Any options?
- Lasse
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Android studio emulator without PulseAudio
2018-10-30 9:15 [gentoo-user] Android studio emulator without PulseAudio Pouru Lasse
@ 2018-10-30 11:20 ` Davyd McColl
2018-10-30 11:53 ` Pouru Lasse
0 siblings, 1 reply; 6+ messages in thread
From: Davyd McColl @ 2018-10-30 11:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 681 bytes --]
Would apulse not do the trick?
-d
On 2018-10-30 11:15:14, Pouru Lasse <lasse.pouru@edu.turkuamk.fi> wrote:
Is it possible to run the emulator included with Android Studio without
having PulseAudio installed? When I try to launch the emulator, it
instantly crashes because it can't find libpulse.so.0. My QEMU package
is compiled without PulseAudio, but Android SDK comes with its own
version of QEMU.
Setting QEMU_AUDIO_DRV=none, as instructed in Android Studio manual,
seems to have no effect, and the Gentoo wiki page on Android Studio just
tells you to install PulseAudio.
I don't mind having no audio at all, I just don't want to install
PulseAudio. Any options?
- Lasse
[-- Attachment #2: Type: text/html, Size: 1537 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Android studio emulator without PulseAudio
2018-10-30 11:20 ` Davyd McColl
@ 2018-10-30 11:53 ` Pouru Lasse
2018-11-01 0:08 ` Andrew Savchenko
0 siblings, 1 reply; 6+ messages in thread
From: Pouru Lasse @ 2018-10-30 11:53 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
"Davyd McColl" <davydm@gmail.com> writes:
> Would apulse not do the trick?
>
> -d
> On 2018-10-30 11:15:14, Pouru Lasse <lasse.pouru@edu.turkuamk.fi> wrote:
>
> Is it possible to run the emulator included with Android Studio without
> having PulseAudio installed? When I try to launch the emulator, it
> instantly crashes because it can't find libpulse.so.0. My QEMU package
> is compiled without PulseAudio, but Android SDK comes with its own
> version of QEMU.
>
> Setting QEMU_AUDIO_DRV=none, as instructed in Android Studio manual,
> seems to have no effect, and the Gentoo wiki page on Android Studio just
> tells you to install PulseAudio.
>
> I don't mind having no audio at all, I just don't want to install
> PulseAudio. Any options?
>
> - Lasse
I already had apulse installed, but apparently the emulator doesn't look
for the library in the right directory. I copied all the libpulse.*
files under ~/Android/Sdk/emulator/lib/ and
~/Android/Sdk/emulator/lib64/ and now it seems to work.
- Lasse
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Android studio emulator without PulseAudio
2018-10-30 11:53 ` Pouru Lasse
@ 2018-11-01 0:08 ` Andrew Savchenko
2018-11-05 17:21 ` Pouru Lasse
0 siblings, 1 reply; 6+ messages in thread
From: Andrew Savchenko @ 2018-11-01 0:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1277 bytes --]
On Tue, 30 Oct 2018 11:53:33 +0000 Pouru Lasse wrote:
> "Davyd McColl" <davydm@gmail.com> writes:
>
> > Would apulse not do the trick?
> >
> > -d
> > On 2018-10-30 11:15:14, Pouru Lasse <lasse.pouru@edu.turkuamk.fi> wrote:
> >
> > Is it possible to run the emulator included with Android Studio without
> > having PulseAudio installed? When I try to launch the emulator, it
> > instantly crashes because it can't find libpulse.so.0. My QEMU package
> > is compiled without PulseAudio, but Android SDK comes with its own
> > version of QEMU.
> >
> > Setting QEMU_AUDIO_DRV=none, as instructed in Android Studio manual,
> > seems to have no effect, and the Gentoo wiki page on Android Studio just
> > tells you to install PulseAudio.
> >
> > I don't mind having no audio at all, I just don't want to install
> > PulseAudio. Any options?
> >
> > - Lasse
>
> I already had apulse installed, but apparently the emulator doesn't look
> for the library in the right directory. I copied all the libpulse.*
> files under ~/Android/Sdk/emulator/lib/ and
> ~/Android/Sdk/emulator/lib64/ and now it seems to work.
You should run emulator as:
$ apulse command_to_run_emulator
Or install the latest apulse with USE=sdk.
Best regards,
Andrew Savchenko
[-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Android studio emulator without PulseAudio
2018-11-01 0:08 ` Andrew Savchenko
@ 2018-11-05 17:21 ` Pouru Lasse
2018-11-06 3:17 ` Andrew Savchenko
0 siblings, 1 reply; 6+ messages in thread
From: Pouru Lasse @ 2018-11-05 17:21 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
Andrew Savchenko <bircoph@gentoo.org> writes:
> On Tue, 30 Oct 2018 11:53:33 +0000 Pouru Lasse wrote:
>> "Davyd McColl" <davydm@gmail.com> writes:
>>
>> > Would apulse not do the trick?
>> >
>> > -d
>> > On 2018-10-30 11:15:14, Pouru Lasse <lasse.pouru@edu.turkuamk.fi> wrote:
>> >
>> > Is it possible to run the emulator included with Android Studio without
>> > having PulseAudio installed? When I try to launch the emulator, it
>> > instantly crashes because it can't find libpulse.so.0. My QEMU package
>> > is compiled without PulseAudio, but Android SDK comes with its own
>> > version of QEMU.
>> >
>> > Setting QEMU_AUDIO_DRV=none, as instructed in Android Studio manual,
>> > seems to have no effect, and the Gentoo wiki page on Android Studio just
>> > tells you to install PulseAudio.
>> >
>> > I don't mind having no audio at all, I just don't want to install
>> > PulseAudio. Any options?
>> >
>> > - Lasse
>>
>> I already had apulse installed, but apparently the emulator doesn't look
>> for the library in the right directory. I copied all the libpulse.*
>> files under ~/Android/Sdk/emulator/lib/ and
>> ~/Android/Sdk/emulator/lib64/ and now it seems to work.
>
> You should run emulator as:
> $ apulse command_to_run_emulator
>
> Or install the latest apulse with USE=sdk.
>
> Best regards,
> Andrew Savchenko
What exactly is the purpose of the sdk USE flag? To provide the files
required for development with PulseAudio? Compiling apulse with the sdk
flag had no noticeable effect on Android Studio, but it did cause Unity
(the game engine) to crash at startup. I'm not sure if this is a problem
with Unity (happened with all versions I tested) or the apulse package.
- Lasse
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Android studio emulator without PulseAudio
2018-11-05 17:21 ` Pouru Lasse
@ 2018-11-06 3:17 ` Andrew Savchenko
0 siblings, 0 replies; 6+ messages in thread
From: Andrew Savchenko @ 2018-11-06 3:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 752 bytes --]
On Mon, 5 Nov 2018 17:21:14 +0000 Pouru Lasse wrote:
> Andrew Savchenko <bircoph@gentoo.org> writes:
[...]
> > You should run emulator as:
> > $ apulse command_to_run_emulator
> >
> > Or install the latest apulse with USE=sdk.
> >
> > Best regards,
> > Andrew Savchenko
>
> What exactly is the purpose of the sdk USE flag? To provide the files
> required for development with PulseAudio?
To install apulse as a (partial) replacement of PulseAudio: it
installs header files, pkgconfig files and places libraries at
standard system paths, so that apulse wrapper is no longer needed.
However, apulse is not a full PA replacement by design, so this
will work only with limited set of applications.
Best regards,
Andrew Savchenko
[-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-11-06 3:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-30 9:15 [gentoo-user] Android studio emulator without PulseAudio Pouru Lasse
2018-10-30 11:20 ` Davyd McColl
2018-10-30 11:53 ` Pouru Lasse
2018-11-01 0:08 ` Andrew Savchenko
2018-11-05 17:21 ` Pouru Lasse
2018-11-06 3:17 ` Andrew Savchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox