Mediaplayer Unable To Prepare?
Solution 1:
You made need to drop a release() in there first. It could be crashing due to multiple mediaplayer instances.
Solution 2:
The interesting line from the log is this one:
Command PLAYER_INIT completed with an erroror info PVMFFailure, -1That's your error code, -1, which unfortunately is utterly generic ... it has no particular meaning. Fortunately the name, PVMFFailure is suitably Googlable... it looks from the linked thread that the media format is a likely suspect. Older platforms probably can't handle the same bitrates and formats as newer ones.
https://groups.google.com/forum/?fromgroups#!topic/android-developers/6uGbh37bVEQ
Solution 3:
I just flashed CyanogenMod 7 on my phone and my app now works great. Apparently LG is retarded and likes to break things. Still not sure why other apps work and mine didn't but I'll just have to add a note to my app description explaining the issue to other LG users.
Post a Comment for "Mediaplayer Unable To Prepare?"