Skip to content Skip to sidebar Skip to footer

Android Video Stops Playing After Multiple Plays Error 1, 2147483648

OK, this is a little frustrating, and I have searched Stack but none of the answers seems to help. I have an Android app which cycles through different content on the screen. At on

Solution 1:

I'm almost positive this is an issue with the Amlogic based device you are using (evident due to the "amplayer" and "AmlogicPlayer" in the logcat). We have had tons of issues with an Amlogic AML8726 based device we are testing. Try upgrading the firmware if possible.

Solution 2:

I am not sure But I think this is due to some caching problem , as it plays for x times and then stops playing . File is not accessible that can be due to multiple reasons :Permissions, corrupt file , wrong file but your seems to be a different case.

Can you use reset and try again

public void reset () Since: API Level 1

Resets the MediaPlayer to its uninitialized state. After calling this method, you will have to initialize it again by setting the data source and calling prepare().

Solution 3:

OK well, I never did resolve this to my ultimate satisfaction, especially since it was particular to a device. In the end I just added in exception handling so it would not crash when failing to play the video and just skip it and try again next time.

The video does play in the loop the next time around, so I am guessing it is something specific to the device.

Post a Comment for "Android Video Stops Playing After Multiple Plays Error 1, 2147483648"