Android模拟器没有声音 [英] No Sound coming from Android Emulator

查看:1000
本文介绍了Android模拟器没有声音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我运行了我的应用程序,但无法在Android Emulator上正常工作. 我在Eclipse AVD Manager中检查并启用了音频播放布尔值. 我还进入了Android模拟器中的声音选项,并进行了设置(放置时无声音). 我选中了表明所有选择都会发出声音(仍然没有声音)的框.

I ran my application and I can't get the sound working on the Android Emulator. I checked and enabled the audio playback boolean in the Eclipse AVD Manager. I also went into the sound options in the Android Emulator and put them up (no sound while putting them up). I checked the box that says all selections will make a noise(still no sound).

我的应用程序使用MediaPlayer类,并且与它有任何关系,我正在运行win7 x64.

My application uses the MediaPlayer class and I am running win7 x64 if that has anything to do with it.

感谢您的帮助.

推荐答案

对于OS X,Android模拟器使用声音效果"的设置,因此这是我必须解决的问题:

For OS X the Android Emulator uses the settings for "Sound Effects" so this is what I had to do to fix my issue:

  1. 单击左上方的Apple图标,然后单击系统偏好设置"
  2. 点击声音
  3. 点击声音效果"
  4. 将播放声音效果通过"设置为选定的声音输出设备"
  5. 将警报音量设置为几乎最大.

以某种方式更改为改为使用我的显示器.

Somehow this had changed to use my monitors instead.

这篇关于Android模拟器没有声音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆