Andrew Savchenko <birc...@gentoo.org> writes: > On Tue, 30 Oct 2018 11:53:33 +0000 Pouru Lasse wrote: >> "Davyd McColl" <dav...@gmail.com> writes: >> >> > Would apulse not do the trick? >> > >> > -d >> > On 2018-10-30 11:15:14, Pouru Lasse <lasse.po...@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