简体   繁体   English

我可以在android模拟器中使用alsa运行应用程序吗?

[英]Can I run a application with alsa inside the android emulator?

I'm making my own image to run on the Android Emulator. 我正在制作自己的图像以在Android模拟器上运行。 Within this image I have a application that wants to use alsa for sound. 在此图像中,我有一个想要使用alsa进行声音的应用程序。 Is this possible withing the Android Emulator? 这可能与Android模拟器有关吗?

With adb push I send over aplay. 通过adb push,我发送了一个play。 And with aplay -l I get a message that there are no sound devices available. 通过aplay -l,我收到一条消息,提示没有可用的声音设备。

Any idea how I can do this? 知道我怎么能这样做吗?

There is no ALSA in the Android emulator. Android模拟器中没有ALSA。 It uses its own /dev/eac pseudo device → http://www.mail-archive.com/android-porting@googlegroups.com/msg04355.html 它使用自己的/ dev / eac伪设备→ http://www.mail-archive.com/android-porting@googlegroups.com/msg04355.html

Definitely YES u can run in emulator 绝对是的你可以在模拟器中运行

check using 检查使用

adb shell logcat | 亚行shell logcat | grep alsa 格雷普·阿尔萨

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我无法在android上运行应用程序,但模拟器可以 - I cannot run application on android, but emulator can >'meteor run android'运行应用程序并启动android模拟器,但我无法在模拟器中找到或运行应用程序 - > 'meteor run android' runs app and launches android emulator but I cannot find or run the application inside the emulator 无法通过模拟器运行android应用 - Can't run android application via emulator 我可以运行Android应用程序作为没有模拟器的独立桌面应用程序吗? - Can I run run an android application as a standalone desktop application without an emulator? 我无法在 android studio 中运行模拟器 - I can't run emulator in android studio 我可以在Android模拟器中运行APK文件吗? - Can I run an APK file in the Android emulator? 对于AWS,为什么通过模拟器运行Android应用程序时无法创建帐户? - For AWS, why can't I create an account when I run my Android application through the emulator? 为什么在模拟器中运行我的Android应用程序时会停止? - Why my android application stopped when I run it in Emulator? 我可以运行模拟器(Android Studio),但是在模拟器屏幕上找不到我制作的应用程序 - I can run my emulator(Android studio) but in emulator screen I can't find the app I made 无法在Android Studio 3上运行模拟器 - Can not run Emulator on Android Studio 3
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM