I\'ve been really banging my head against the table trying to get the MediaPlayer class to try to play h.264-encoded videos on Android 2.1. My code is rather simple:
<
I found Best and clear solution for this error : java.io.IOException: Prepare failed.: status=0x1
Note
if you want read from your sd card and got this error , your are not set
in your Manifast .
Note 2
if your are want play from url and got that error maybe your are set setDataSource to like this :https://www.android.com just remove S from http like this http://www.android.com