我一直在开发这个应用程序,它从服务器传输音乐。我一直在测试三星2.3.6,lg 2.3.6 alcatel onetouch 4.1.1。所有这些设备都能够流畅地播放音乐并轻松播放,但是今天我一直在Tecno 2.3.5上尝试它并且它不会流动,并且不会强制关闭。 这是logcat错误:
`03-11 12:35:04.209: I/ActivityManager(162): Starting: Intent { flg=0x10000000 cmp=com.roamtech.bonyeza/.Player (has extras) } from pid 5894
03-11 12:35:04.269: I/Bundle:(5894): 2
03-11 12:35:04.279: I/TEST:(5894): position==> 2
03-11 12:35:04.329: I/AudioService(162): AudioFocus requestAudioFocus() from android.media.AudioManager@40777b38com.roamtech.musicplayer.Musicplayer@40766778
03-11 12:35:04.329: I/Bundle==>(5894): 2
03-11 12:35:04.329: I/Position=> >(5894): 2
03-11 12:35:04.329: I/SongIndex+>(5894): 2
03-11 12:35:04.329: I/Positoin+>(5894): 2
03-11 12:35:04.329: D/MediaPlayer(5894): reset state 1
03-11 12:35:04.329: D/MediaPlayer(5894): setDataSource(http://example.com/melodiaApi/music/Kura_Burndem_Kenrazy.mp3)
03-11 12:35:04.329: V/MediaPlayerService(98): Client(684) constructor
03-11 12:35:04.329: V/MediaPlayerService(98): Create new client(684) from pid 5894, url=http://example.com/melodiaApi/music/Kura_Burndem_Kenrazy.mp3, connId=684, audioSessionId=688
03-11 12:35:04.329: D/MediaPlayerService(98): setDataSource(http://example.com/melodiaApi/music/Kura_Burndem_Kenrazy.mp3)
03-11 12:35:04.329: V/MediaPlayerService(98): usePVPlayer: did not detect file to be with LPA implementation
03-11 12:35:04.329: I/MediaPlayerService(98): The Default player that is returned is STAGEFRIGHT**************
03-11 12:35:04.329: V/MediaPlayerService(98): player type = 4
03-11 12:35:04.329: V/MediaPlayerService(98): create StagefrightPlayer
03-11 12:35:04.329: V/AudioSink(98): AudioOutput(688)
03-11 12:35:04.329: V/MediaPlayerService(98): setDataSource
03-11 12:35:04.329: V/MediaPlayerService(98): [684] setAudioStreamType(3)
03-11 12:35:04.329: V/MediaPlayerService(98): [684] prepareAsync
03-11 12:35:04.359: W/KeyCharacterMap(5894): No keyboard for id -1
03-11 12:35:04.359: W/KeyCharacterMap(5894): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
03-11 12:35:04.579: I/ActivityManager(162): Displayed com.example.bonyeza/.Player: +362ms
03-11 12:35:06.599: E/AKMD2(7037): AK8975/B for Android v20110331 (Library: v1.2.3.114) started.
03-11 12:35:06.609: E/AKMD2(7037): Debug: ON
03-11 12:35:06.609: E/AKMD2(7037): Debug level: 3
03-11 12:35:06.609: E/AKMD2(7037): Output to: stdout
03-11 12:35:06.609: E/AKMD2(7037): AKD_InitDevice:55 open Error (No such file or directory).
03-11 12:35:06.609: E/AKMD2(7037): AK8975/B for Android end (-2).
03-11 12:35:09.769: V/ExtendedExtractor(98): Begin SniffAACplus
03-11 12:35:09.779: E/QC_MP3DEC(98): component_init[0x3f108]component init: role = OMX.qcom.audio.decoder.mp3
03-11 12:35:10.789: V/MediaPlayerService(98): [684] notify (0x19610, 3, 8, 0)
03-11 12:35:10.789: V/MediaPlayerService(98): [684] notify (0x19610, 5, 0, 0)
03-11 12:35:10.789: V/MediaPlayerService(98): [684] notify (0x19610, 1, 0, 0)
03-11 12:35:11.649: E/AKMD2(7047): AK8975/B for Android v20110331 (Library: v1.2.3.114) started.
03-11 12:35:11.649: E/AKMD2(7047): Debug: ON
03-11 12:35:11.649: E/AKMD2(7047): Debug level: 3
03-11 12:35:11.659: E/AKMD2(7047): Output to: stdout
03-11 12:35:11.659: E/AKMD2(7047): AKD_InitDevice:55 open Error (No such file or directory).
03-11 12:35:11.659: E/AKMD2(7047): AK8975/B for Android end (-2).
03-11 12:35:11.789: V/MediaPlayerService(98): [684] notify (0x19610, 3, 12, 0)
03-11 12:35:12.789: V/MediaPlayerService(98): [684] notify (0x19610, 3, 16, 0)
03-11 12:35:13.789: V/MediaPlayerService(98): [684] notify (0x19610, 3, 19, 0)
03-11 12:35:14.789: V/MediaPlayerService(98): [684] notify (0x19610, 3, 21, 0)
03-11 12:35:15.789: V/MediaPlayerService(98): [684] notify (0x19610, 3, 26, 0)
03-11 12:35:16.709: E/AKMD2(7051): AK8975/B for Android v20110331 (Library: v1.2.3.114) started.
03-11 12:35:16.719: E/AKMD2(7051): Debug: ON
03-11 12:35:16.719: E/AKMD2(7051): Debug level: 3
03-11 12:35:16.719: E/AKMD2(7051): Output to: stdout
03-11 12:35:16.719: E/AKMD2(7051): AKD_InitDevice:55 open Error (No such file or directory).
03-11 12:35:16.719: E/AKMD2(7051): AK8975/B for Android end (-2).
03-11 12:35:16.719: V/FakeSignal(268): StatusBar:UpdateSignal Sub0:mSub0SignalCurIndex0nLastIndex4Cur14Last18
03-11 12:35:16.719: V/FakeSignal(268): StatusBar:UpdateSignal Sub0 Dump:14,15,18,15,18
03-11 12:35:16.719: V/FakeSignal(268): StatusBar:UpdateSignal Sub0 Default Dump:14,15,18,15,18
03-11 12:35:16.719: V/FakeSignal(268): StatusBar:UpdateSignal Sub0: nGap0
03-11 12:35:16.719: V/FakeSignal(268): StatusBar:UpdateSignal RGK_GetGSMLevelOnSub:0iconLevel5
03-11 12:35:16.719: I/TelephonyRegistry(162): notifySignalStrengthOnSubscription: sub:0len=14Service=0
03-11 12:35:16.729: V/michael:(268): CheckNetWorkIs3GnType:10nSub:0
03-11 12:35:16.789: V/MediaPlayerService(98): [684] notify (0x19610, 3, 30, 0)
03-11 12:35:17.789: V/MediaPlayerService(98): [684] notify (0x19610, 3, 34, 0)
03-11 12:35:18.789: V/MediaPlayerService(98): [684] notify (0x19610, 3, 38, 0)
03-11 12:35:19.789: V/MediaPlayerService(98): [684] notify (0x19610, 3, 42, 0)
03-11 12:35:20.789: V/MediaPlayerService(98): [684] notify (0x19610, 3, 46, 0)
03-11 12:35:21.769: E/AKMD2(7056): AK8975/B for Android v20110331 (Library: v1.2.3.114) started.
03-11 12:35:21.769: E/AKMD2(7056): Debug: ON
03-11 12:35:21.769: E/AKMD2(7056): Debug level: 3
03-11 12:35:21.779: E/AKMD2(7056): Output to: stdout
03-11 12:35:21.779: E/AKMD2(7056): AKD_InitDevice:55 open Error (No such file or directory).
03-11 12:35:21.779: E/AKMD2(7056): AK8975/B for Android end (-2).
03-11 12:35:21.789: V/MediaPlayerService(98): [684] notify (0x19610, 3, 52, 0)
03-11 12:35:22.729: V/FakeSignal(268): StatusBar:UpdateSignal Sub0:mSub0SignalCurIndex1nLastIndex0Cur17Last14
03-11 12:35:22.729: V/FakeSignal(268): StatusBar:UpdateSignal Sub0 Dump:14,17,18,15,18
03-11 12:35:22.729: V/FakeSignal(268): StatusBar:UpdateSignal Sub0 Default Dump:14,17,18,15,18
03-11 12:35:22.729: V/FakeSignal(268): StatusBar:UpdateSignal Sub0: nGap0
03-11 12:35:22.729: V/FakeSignal(268): StatusBar:UpdateSignal RGK_GetGSMLevelOnSub:0iconLevel5
03-11 12:35:22.729: I/TelephonyRegistry(162): notifySignalStrengthOnSubscription: sub:0len=17Service=0
03-11 12:35:22.739: V/michael:(268): CheckNetWorkIs3GnType:10nSub:0
03-11 12:35:22.799: V/MediaPlayerService(98): [684] notify (0x19610, 3, 54, 0)
03-11 12:35:23.799: V/MediaPlayerService(98): [684] notify (0x19610, 3, 60, 0)
03-11 12:35:24.799: V/MediaPlayerService(98): [684] notify (0x19610, 3, 64, 0)
03-11 12:35:25.799: V/MediaPlayerService(98): [684] notify (0x19610, 3, 68, 0)
03-11 12:35:26.799: V/MediaPlayerService(98): [684] notify (0x19610, 3, 74, 0)
03-11 12:35:26.809: E/AKMD2(7060): AK8975/B for Android v20110331 (Library: v1.2.3.114) started.
03-11 12:35:26.819: E/AKMD2(7060): Debug: ON
03-11 12:35:26.829: E/AKMD2(7060): Debug level: 3
03-11 12:35:26.829: E/AKMD2(7060): Output to: stdout
03-11 12:35:26.829: E/AKMD2(7060): AKD_InitDevice:55 open Error (No such file or directory).
03-11 12:35:26.829: E/AKMD2(7060): AK8975/B for Android end (-2).
03-11 12:35:27.789: V/MediaPlayerService(98): [684] notify (0x19610, 3, 78, 0)
03-11 12:35:28.799: V/MediaPlayerService(98): [684] notify (0x19610, 3, 82, 0)
03-11 12:35:29.799: V/MediaPlayerService(98): [684] notify (0x19610, 3, 86, 0)
03-11 12:35:30.799: V/MediaPlayerService(98): [684] notify (0x19610, 3, 87, 0)
`