模拟器中是安卓5.0的系统,sdk也为21,真机是5.0
在genymotion可以运行,真机安装后一打开就崩溃。
部分Logcat输出:
03-20 12:24:02.568 3857-3857/com.sharpandroid.music I/Choreographer: Skipped 127 frames! The application may be doing too much work on its main thread.
03-20 12:24:08.257 3857-3857/com.sharpandroid.music I/Choreographer: Skipped 339 frames! The application may be doing too much work on its main thread.
03-20 12:24:16.656 3857-3857/com.sharpandroid.music I/Choreographer: Skipped 227 frames! The application may be doing too much work on its main thread.
03-20 12:24:21.620 3857-3857/com.sharpandroid.music I/Choreographer: Skipped 297 frames! The application may be doing too much work on its main thread.
03-20 12:24:25.745 3857-3857/com.sharpandroid.music I/Choreographer: Skipped 246 frames! The application may be doing too much work on its main thread.
03-20 12:24:29.319 3857-3857/com.sharpandroid.music I/Choreographer: Skipped 213 frames! The application may be doing too much work on its main thread.
03-20 12:24:29.604 3857-3864/com.sharpandroid.music W/art: Suspending all threads took: 18.303ms
03-20 12:24:32.486 3857-3864/com.sharpandroid.music W/art: Suspending all threads took: 27.499ms
03-20 12:24:33.859 3857-3857/com.sharpandroid.music I/Choreographer: Skipped 271 frames! The application may be doing too much work on its main thread.
03-20 12:24:33.859 3857-3857/com.sharpandroid.music I/Choreographer: Skipped 271 frames! The application may be doing too much work on its main thread.
03-20 12:25:22.535 3857-3857/com.sharpandroid.music E/com.sharpandroid.music.StreamingMediaPlayer: Buffered File path: /data/data/com.sharpandroid.music/cache/playingMedia0.dat
03-20 12:25:22.535 3857-3857/com.sharpandroid.music E/com.sharpandroid.music.StreamingMediaPlayer: Buffered File length: 170599
03-20 12:25:22.661 3857-3857/com.sharpandroid.music E/MediaPlayer: Should have subtitle controller already set
03-20 12:25:22.735 3857-3857/com.sharpandroid.music E/MediaPlayer: Should have subtitle controller already set
03-20 12:25:27.695 3857-3857/com.sharpandroid.music I/Choreographer: Skipped 297 frames! The application may be doing too much work on its main thread.
03-20 12:25:31.840 3857-3864/com.sharpandroid.music W/art: Suspending all threads took: 18.142ms
03-20 12:25:32.608 3857-3857/com.sharpandroid.music E/MediaPlayer: Should have subtitle controller already set
03-20 12:25:32.701 3857-3857/com.sharpandroid.music E/MediaPlayer: Should have subtitle controller already set
03-20 12:25:39.066 3857-3864/com.sharpandroid.music W/art: Suspending all threads took: 6.837ms
03-20 12:26:12.803 3857-3864/com.sharpandroid.music W/art: Suspending all threads took: 51.454ms
03-20 12:26:16.327 3857-3864/com.sharpandroid.music W/art: Suspending all threads took: 114.446ms