蓝牙耳机连接到iMac(macOS Sierra v 10.12.2),可以从耳机中听到系统的声音。
但安卓模拟器的音频不能连接到耳机,也不能在iMac扬声器上播放声音。
即使iMac的声音是静音的,模拟器的声音也能从扬声器中听到。
Follow the 已接受的答案 如果它仍然没有帮助,那么就做一个 Cold Boot :
用这种方式。
The problem will be solved
所有的解决方案都没有帮助我。我想这是一个错误。 https://issuetracker.google.com/issues/132475237
我在MacBook上有类似的问题。来自安卓模拟器的声音无法在蓝牙耳机中播放。以上的解决方案都不奏效。然后我尝试添加新的音频设备,终于成功了,但声音播放略微失真。
I tried 这个答案 but it didn't work. I then solved it with the 2 steps below without reverting the settings.
built-in
也不要忘了用以下方法启动AVD Cold Boot 开始。
I found solution
快速修复:如果可以的话,尝试使用一个实际的安卓系统来测试应用程序。
有两个很好的理由可以改用实际的安卓设备进行测试。
1. Emulator eats up device memory and results would mostly vary on an actual android. 2. Testing on an actual device is a better way of ensuring that the application behaves as expected on the actual device.