Android emulator virtual microphone doesn't work on macOS - android

I activated virtual microphone on Android emulator by enabling toggles at the Extended Controls > Microphone path in emulator settings but when I start recording audio by Google Assistant and other recording apps to test it, the emulator receives no audio signal from the machine inputs. My operating system is macOS Catalina 10.15.4 and the Android Studio version is 3.6. Also, my laptop microphone works correctly and I checked it with an external Headset and other MacBooks but the problem didn't solve. How could I fix it?

Related

How to test microphone functions with Virtual Devices in Android Studio

I am writing an Android App which needs to use the devices microphone.
To test my app, I installed various virtual devices using the AVD Manager of Android Studio.
However, I realise that for none of the virtual devices that I installed, the microphone was working.
I am using Android Studio 3.6.2 on MacOS Version 10.15.4 (Catalina).
I'd like to deploy my code on any virtual device in Android Studio and record sound via my MacBookPro's microphone.
Can anybody please let me know how I can install such virtual device and link the emulated microphone to my MacBookPro's microphone?
Every android emulator has the option of MicroPhone which can be found in the running emulator's setting. You can configure your emulator and setup the microphone there:

Android-Studio Emulator audio error

Hello, I am trying to setup Android Studio 3.1.3 in a guest VM with windows 10 x64 pro. In the VirtualBox I have intel HD sound controller enabled. I have installed Android 6.0 in AVD for ARM EABI architecture on a Pixel.
However, when I try to launch the emulator I get
Emulator: audio: Failed to create voice `goldfish_audio_in'
Emulator: qemu-system-armel.exe: warning: opening audio input failed
and the emulator is just a black screen that does not respond to anything.
I have everything enabled in Virtual Box regarding hardware acceleration.
I checked these posts:
Is it possible to run Android Device Emulator (via Android Studio 2) on VMWare?
“emulator: warning: opening audio input failed” displayed in the console while AVD is launching
Android Emulator: Audio Input Failed
but I still get the same error and black screen on the emulator...
I have also tried to disable sound in config.ini or disable the microphone in windows 10 VM but didnt change anything.
Am I missing something here?
Is it impossible to run android emulator for ARM architecture on a VM?
Just to ansewer the question, for me the solution was to just use API version older than 23 (android 6.0). API 22 (android 5.1) seems to work well, althought you may notice some latency.
NOTE: I ll leave the question open just in case there is a better way to make it work with latest android versions.
Plugin something in the microphone pin and voila.. the error goes away... for some reason, it needs the microphone .. AMD Ryzen 1600, the hypervisor is on, windows 10 pro-1903. Running Pie on emulator fine

Visual Studio 2015 with Xamarin - Device is not shown on VS

I have Visual Studio 2015 Community Edition with Xamarin inside Windows 7 Virtual Machine. I have my android device connected to the physical machine and Yes the android phone is recognized in the Virtual Machine, since it's shown in the My Computer of Virtual Machine, and also displayed in Other devices under Device Manager.
When I created Cross-Platform Blank App (Native Portable) project in VS2015 and Set App.Droid as startup Project, I can't see my phone. What am I missing?
Check unsupported devices under list of devices to run (or it is just Start button if you don't have any devices). If your phone is there that means your project has higher API level as Minimum target than the phone's API.
If phone is not even in that list then
Check on the phone if Developer mode is enabled and inside you have
USB debugging enabled
Stay awake
(Optionally) Allow mock locations

How to enable Android emulator (AVD) microphone on OSX?

This question was somewhat asked previously but it doesn't appear there was a resolution.
For testing purposes, I am trying to use an app on the Android emulator that records from the mic. I believe this is possible -- but correct me if I'm wrong.
Using the following combinations, I have been unsuccessful in running the Speech Recognition app (app closes when I hit record with Sorry! message):
host os - OSX lion / Fedora
android os - 2.0, 4.3
My mic is working on the host machine. I have enabled audio recording and playback in the AVD.

Android Virtual Device - Windows 7 BSOD

I have just started playing around with Android development and looking to use PhoneGap.
Using their getting started guide (http://phonegap.com/start#android) I have got to the final step, which is running the app in an Android Virtual Device.
I have set some up and all of which cause a BSOD when ever I try to run it. I am using Windows 7.
The error message displayed on the BSOD is:
STOP: 0X0000008E
emBDA.sys - Address 8EB5320C base at 8EB50000
Thanks!
I had the same problem with file emBDA64.sys. Probably it is the same problem that I had, but you have 32-bit driver not 64-bit. This file is part of probably PVR-TV USB device. I had to turn off this device and emulator started to work well. Check, what device is this file a part of and turn off this device when using emulator. Probably it is extrnal TV tuner too.
Confirming kzez1986's suggestion that the BSOD might have to do, or always has to do (?) with a(n internal) USB TV tuner.
My Win7-64 system suffered from the same BSOD after a brand new install of the Android SDK and starting a new AVD.
When disabling a USB device, in my case called 'DVBT Hybrid TV Device' in the 'Sound, video and game controllers' section of the windows Device Manager I could now start the Android AVD without problems.
Note: Because I'm on a 64bit machine, in my case the BSOD error was pointing to emBDA64.sys.

Categories

Resources