0

我有一个使用 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

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

4

1 回答 1

0

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

您应该尝试使用文件资源管理器阅读此文件

希望能帮助到你

于 2013-09-02T09:53:02.063 回答