简体   繁体   中英

MediaPlayer﹕ error (1, -2147483648)

Trying to debug my application, I have found this error in the logcat.

When this happens, the application seems to display a black screen (when it should be playing a video). If I hit the home key (to exit without destroying the app in memory) then launch the application again, it starts displaying the video as normal.

What is this error code trying to tell me? I cannot seem to find any solid info on what it is. There are no matching results for the part of the code "-2147483648".

设置数据源时,我可以通过更正不完整的文件路径来解决相同的错误“ -2147483648”:myMediaPlayer.setDataSource(“此处为已更正的文件路径”);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM