Kindle Fire HD上的MediaPlayer记录了奇怪的错误

时间:2013-09-02 07:46:24

标签: android android-mediaplayer kindle-fire

我有一个使用MediaPlayer组件播放电影的Android应用。 它适用于所有Android设备,除了Kindle Fire HD(可能还有其他亚马逊设备以及我没有机会测试其他设备)。

在Kindle上,logcat打印以下输出:

09-02 09:37:46.971  23979-23979/it.hearst.elledecortest I/VideoControllerView: VideoControllerView
09-02 09:37:46.971  23979-23979/it.hearst.elledecortest I/VideoControllerView: VideoControllerView
09-02 09:37:46.986  23979-23979/it.hearst.elledecortest D/MovieViewController: onViewAttachedToWindow
09-02 09:37:47.010      108-108/? E/ASFDummyExtractor: isASFParserAvailable
09-02 09:37:47.010      108-108/? W/ASFDummyExtractor: ASF parser is not available
09-02 09:37:47.010      108-108/? I/AwesomePlayer: Awsomeplayer is created
09-02 09:37:47.010      108-108/? I/AwesomePlayer: board file present
09-02 09:37:47.010      108-108/? I/AwesomePlayer: cabc present
09-02 09:37:47.010      108-108/? I/AwesomePlayer: setCabc file open !
09-02 09:37:47.010      108-108/? I/AwesomePlayer: setCabc ret = -22
09-02 09:37:47.010      108-108/? I/AwesomePlayer: cabc present
09-02 09:37:47.010      108-108/? I/AwesomePlayer: setCabc file open !
09-02 09:37:47.010      108-108/? I/AwesomePlayer: setCabc ret = -22
09-02 09:37:47.010    108-24246/? I/AwesomePlayer: cabc present
09-02 09:37:47.010    108-24246/? I/AwesomePlayer: setCabc file open !
09-02 09:37:47.010    108-24246/? I/AwesomePlayer: setCabc ret = -22
09-02 09:37:47.010  23979-23989/it.hearst.elledecortest E/MediaPlayer: error (1, -2147483648)
09-02 09:37:47.119  23979-23979/it.hearst.elledecortest E/MediaPlayer: Error (1,-2147483648)
09-02 09:37:47.142  23979-23979/it.hearst.elledecortest E/MediaPlayer: prepareAsync called in state 0

对可能发生的事情有任何见解的人? 谢谢!

1 个答案:

答案 0 :(得分:0)

error (1, -2147483648)是MediaPlayer的常规错误。通常,此错误与不可读的文件相关联。

您应该尝试使用文件浏览器

来阅读此文件

希望有所帮助