protected MediaPlayer _mediaPlayer; protected void playFromResource(int resId) { if (_mediaPlayer != null) { _
Launching the emulator manually helps in my case.
emulator program can be found inside android-sdk/tools/.
emulator
android-sdk/tools/
So the final command will be something like:
android-sdk/tools/emulator -avd my_cool_emulator_name