From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4B8A0138334 for ; Mon, 5 Nov 2018 17:21:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76052E0C34; Mon, 5 Nov 2018 17:21:18 +0000 (UTC) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50083.outbound.protection.outlook.com [40.107.5.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8244E0B9D for ; Mon, 5 Nov 2018 17:21:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuas365.onmicrosoft.com; s=selector1-edu-turkuamk-fi; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i8tMMYGYwg0uSS0aqG/Gacd9oIHS/jv73PVu7eLjNXg=; b=O92ygryiWkvgdjN6GuE9Jgy29zHb1AvOh/qLFPr0ugdf2GrO7laNbCL/jL2meKTEdd2WAQl9E6vdmDPQI4rGTqS5O1bcTtRQlp0SXko8pSc5MJS+v4m6uZc6hU1V2SDk8/lWP+79nSDFpCl1uAScpDrVFiJWQkFhn8x3MDk5l1A= Received: from DB7PR02MB3820.eurprd02.prod.outlook.com (52.134.97.149) by DB7PR02MB4475.eurprd02.prod.outlook.com (20.178.41.79) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.27; Mon, 5 Nov 2018 17:21:14 +0000 Received: from DB7PR02MB3820.eurprd02.prod.outlook.com ([fe80::7882:2956:5af0:6efa]) by DB7PR02MB3820.eurprd02.prod.outlook.com ([fe80::7882:2956:5af0:6efa%2]) with mapi id 15.20.1294.032; Mon, 5 Nov 2018 17:21:14 +0000 From: Pouru Lasse To: "gentoo-user@lists.gentoo.org" Subject: Re: [gentoo-user] Android studio emulator without PulseAudio Thread-Topic: [gentoo-user] Android studio emulator without PulseAudio Thread-Index: AQHUcDEJEbcJ2ACeT0ObLPdP2eiaGA== Date: Mon, 5 Nov 2018 17:21:14 +0000 Message-ID: <87zhun1lvr.fsf@edu.turkuamk.fi> References: <87o9bb4wz0.fsf@edu.turkuamk.fi> <409ca98c-ed0e-43fd-87d1-db2668b864d3@getmailbird.com> <87h8h34pms.fsf@edu.turkuamk.fi> <20181101030814.363090e1ccfc80b069726b9a@gentoo.org> In-Reply-To: <20181101030814.363090e1ccfc80b069726b9a@gentoo.org> (Andrew Savchenko's message of "Thu, 1 Nov 2018 03:08:14 +0300") Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HE1PR0902CA0006.eurprd09.prod.outlook.com (2603:10a6:3:e5::16) To DB7PR02MB3820.eurprd02.prod.outlook.com (2603:10a6:5:3::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=lasse.pouru@edu.turkuamk.fi; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [88.192.42.235] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB7PR02MB4475;6:RH4J0WUjhpHDLWGErx65+EDzUH0cJLMen2jlgVM86P3nVzs0+YCnQ50YMSUFmqdJSqe71B7D36S4Nnsmg0yrorRkv9nKrnGCseOijZd+Sx/ellDJsoZR7uX/FoO6O/6ctsPdFjp9wqi8hqPRiFvWHegoSVx2/AbRM0tCSTogHGu/NrUAe/DM5kRAjeplIcBTPsMC2alLNDHIQgc1VGmTG2lRSZ3SWTDmIzF+oKY2GQ5pSiQguFvvfLLFf2Vq4QIb2UCl1i0oDD5Fi2P26Q+JOA+3+/QlDpik7wNKClJ4idwM9TxZZZ1JF0Yxx8ZvhNQR25AM+P91KPeJEz6CE0ljasvxY4bL8HXBgoTkuWHVfgujxljxG7FMRBMfJZTbLnZBv86pJKbRd+e5g65O/owPwFPi4pvysBc9sOJdldqVaLvoQJa3q+ArId+rwoL7J3uksUYTJSP1e0IF51oww3lWqw==;5:0pcqo3bkq4GCYUeZzwt8ycD3hjXy3EkSOGegtzdigup65GZ8GNMR4nQ0V6jvn7lG49UJZz6ojA9LGiUf4xKFP03hknNSIeY+ig1g1yHNYwvmCSIve2zRiSSQx/d72SqQ5bKhi+32I5gALF/5E8gpcKjp1UeRgy4QUudo0iRHAi4=;7:02iZiszFEF16QQJV0DdUfl26Qz6KFfhRs9haJsHMCamQUKsNBeVLZBlL/ss7oBGFm7MuqJK4LgDX6ScDxz/iqTKzGnlUen69iQiGh4iBB/mEiH9M4GcSjOxY9i9CCmjB8+fYim7MMEH8bYPQVF5wmg== x-ms-office365-filtering-correlation-id: f11db51c-0f54-458c-2a75-08d643431680 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:DB7PR02MB4475; x-ms-traffictypediagnostic: DB7PR02MB4475: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(85827821059158); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(3231382)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(148016)(149066)(150057)(6041310)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(201708071742011)(7699051)(76991095);SRVR:DB7PR02MB4475;BCL:0;PCL:0;RULEID:;SRVR:DB7PR02MB4475; x-forefront-prvs: 08476BC6EF x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(346002)(136003)(366004)(396003)(39850400004)(199004)(189003)(106356001)(86362001)(8676002)(446003)(11346002)(6512007)(2906002)(386003)(53546011)(6506007)(99286004)(476003)(6246003)(81156014)(81166006)(2616005)(486006)(478600001)(2351001)(5640700003)(8936002)(74482002)(305945005)(5660300001)(105586002)(2501003)(26005)(186003)(6486002)(6436002)(76176011)(66066001)(53936002)(52116002)(25786009)(7736002)(102836004)(14454004)(68736007)(93886005)(6116002)(71200400001)(74826001)(3846002)(229853002)(2900100001)(4001150100001)(316002)(786003)(6916009)(71190400001)(256004)(97736004);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR02MB4475;H:DB7PR02MB3820.eurprd02.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:0;MX:1; received-spf: None (protection.outlook.com: edu.turkuamk.fi does not designate permitted sender hosts) x-microsoft-antispam-message-info: 8EFtEwkKDpRJudf+HEKqxysVpd6iwftABy1FVGerc7SkmQNcF/nHm6Qrlbb8l2VEr4Q7JVP+1zsuyygTW1WpGY4ov1LQUm8PKLfT77gC7alCDHev1u0CRPqTyHXFjJ4bBtZDfIU7qgQNHF54O1yggEOHg/FwXAdKiSySbrMLFmabjgAcBo9IdFWzk9muaqYZjpsmckpgXFYIsoPdsTmkBtpQO2WbLougL3PBukAalrQ196G5owNLbomXb2B2gp73/LPH315/kwR2CRuEcQ+/ds7P7spAA9v3535NjTs9Bhzqki2684UeCs5UCXB4OnxiZ2XMhlbc8zmEBGxye//iJg0a4qTTUdmWwXllBhxe6jw= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-OriginatorOrg: edu.turkuamk.fi X-MS-Exchange-CrossTenant-Network-Message-Id: f11db51c-0f54-458c-2a75-08d643431680 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2018 17:21:14.2934 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: ab32bc86-12f2-4b38-b262-c5775982e241 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR02MB4475 X-Archives-Salt: e3d7cc01-fc73-4f27-9cd7-f93004896a34 X-Archives-Hash: f71365628a35082b3d93c482ca4338fe Andrew Savchenko writes: > On Tue, 30 Oct 2018 11:53:33 +0000 Pouru Lasse wrote: >> "Davyd McColl" writes: >>=20 >> > Would apulse not do the trick? >> > >> > -d >> > On 2018-10-30 11:15:14, Pouru Lasse wrot= e: >> > >> > Is it possible to run the emulator included with Android Studio withou= t >> > 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=3Dnone, as instructed in Android Studio manual, >> > seems to have no effect, and the Gentoo wiki page on Android Studio ju= st >> > 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 >>=20 >> 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=3Dsdk. > > 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