问题
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).
My application uses the MediaPlayer
class and I am running win7 x64 if that has anything to do with it.
Help is appreciated.
回答1:
I have a similar issue and I posted a similar question some time ago. See my question for more information.
MediaPlayer no longer working on the emulator since r10?
Hope this helps.
回答2:
in ubuntu 16.04 start emulator;go to ubuntu SystemSettings/Sound/Applications uncheck mute checkbox and set cursor at middle.
回答3:
For OS X the Android Emulator uses the settings for "Sound Effects" so this is what I had to do to fix my issue:
- Click the Apple icon in the top left, then click on System Preferences
- Click on Sound
- Click on "Sound Effects"
- Set "Play sound effects through" to "Selected sound output device"
- Set the Alert volume almost at max.
Somehow this had changed to use my monitors instead.
回答4:
The solution on ubuntu 16.04 was going to System settings->Sound->Application tab
Then unmuting the Qemu-system... and increasing the volume
回答5:
On Debian 8 , you should open qemu-system after android emulator launching
回答6:
my apps working fine with sound suddenly it stop sound because of some code changed. all other app sound also stopped then i did below step now it is fine
try below
go to android emulator 1.close the program 2.setting -> sound -->volumes ->increase sound value in music video games and other media it will work
回答7:
I had the same problem : in a terminal, type pavucontrol (when emulator is running) and another application using sound, that works, is running too (on pause).
Check if quemu-system and the other application use the same soundcard... In my case, this was the problem :quemu system was using a non working internal soundcard.
回答8:
On On Kubuntu , you should increase the playback stream of qemu-system after android emulator launching
回答9:
Try pressing F6. I had a hard time to figuring this out.
来源:https://stackoverflow.com/questions/8265202/no-sound-coming-from-android-emulator