Mediaplayer error (-19 0) doesn't work with release()
问题 I'm coding a Soundboard and I got a problem when you have clicked 20+ times on the sounds. First I get MediaPlayer error(-19 0) and you can't hear any more sounds. I know it's my memory. So when I try to add Release(); it doesn't sound at all. Here is a button that plays sound: public void click7(View v) { MediaPlayer mp = MediaPlayer.create(NewActivity3.this, R.raw.hahah); mp.start(); } I have been trying with release as well then there's no sound: public void click7(View v) { MediaPlayer mp