I have a MediaPlayer instance for local audio files.
It worked, but after some changes (bad for me, can’t figure out what exactly it was) this error began to appear:
//message
Prepare failed.: status=0xFFFFFFFC
//in LogCat
error(-1, 4)
MEDIA_ERROR(mPreparySync) signal application thread
So, what are possible reasons? File to play exists.
I ‘ve gotten this error evertime I’ve tried to play a non supported file format like wmv. So I’d check that first
Check these links:
Android MediaPlayer not preparing. Error (1, -4)
and
MediaPlayer.setDataSource causes IOException for valid file?