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.
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.
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.
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.
For OS X the Android Emulator uses the settings for "Sound Effects" so this is what I had to do to fix my issue:
Somehow this had changed to use my monitors instead.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With