First:
In your case, you have a mistype with that line.
Instead of:
MediaPlayer cheer = MediaPlayer.create(MainActivity, this, R.raw.fischkarte);
Use:
MediaPlayer cheer = MediaPlayer.create(MainActivity.this, R.raw.fischkarte);
MediaPlayer static method create()
takes two arguments, not three. Also, you can’t just send only the activity name.
Second:
I think you’ll face another problem if you interrupt a Main thread.
Try instead stop a sound after some time and after start it again.
solved Android app won’t work