Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No Sound coming from Android Emulator [duplicate]

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.

like image 815
user947659 Avatar asked Nov 25 '11 05:11

user947659


People also ask

How can I run two android emulators at the same time?

You can run multiple emulators at the same time simply by running your app again. When the AVD manager pops up, instead of selecting your already running emulator, click 'Launch Emulator' and select another emulator to launch.

How do I fix Android Emulator not working?

If the Android Emulator does not start properly, this problem is often caused by problems with HAXM. HAXM issues are often the result of conflicts with other virtualization technologies, incorrect settings, or an out-of-date HAXM driver. Try reinstalling the HAXM driver, using the steps detailed in Installing HAXM.

Why is my AVD not working?

In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled". Go to your BIOS settings and enable Hardware Virtualization. 3) Restart Android Studio and then try to start the AVD again.


2 Answers

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. Click the Apple icon in the top left, then click on System Preferences
  2. Click on Sound
  3. Click on "Sound Effects"
  4. Set "Play sound effects through" to "Selected sound output device"
  5. Set the Alert volume almost at max.

Somehow this had changed to use my monitors instead.

like image 100
Torre Lasley Avatar answered Oct 09 '22 03:10

Torre Lasley


In Ubuntu 16.04, start the emulator and go to the Ubuntu → System Settings → Sound → Applications. Uncheck the mute checkbox and set the cursor at the middle position.

like image 36
doruMarinau Avatar answered Oct 09 '22 04:10

doruMarinau