setSubtitleAnchor in MediaPlayer

I am new to Java and developing an app. I am trying to implement a media player file using bunch of mp3 audio file inside the raw directory. It does play up to 15 mp3 file and then stop. It supposed to play until 26 because I have total 26 mp3 file in my raw directory.

[Here is error message. ][1]