ruihuancao / flutter_page_video

Flutter Video Player
Other
28 stars 13 forks source link

播放崩溃 #1

Closed Licoy closed 6 years ago

Licoy commented 6 years ago

日志信息如下

I/flutter (11839): Clicked
I/ExoPlayerImpl(11839): Init 2550099 [ExoPlayerLib/2.8.0] [meri, MI 5C, Xiaomi, 25]
D/NetworkSecurityConfig(11839): No Network Security Config specified, using platform default
W/VideoCapabilities(11839): Unrecognized profile/level 0/0 for video/mpeg2
W/VideoCapabilities(11839): Unrecognized profile/level 0/2 for video/mpeg2
W/VideoCapabilities(11839): Unrecognized profile/level 0/3 for video/mpeg2
I/VideoCapabilities(11839): Unsupported profile 4 for video/mp4v-es
I/OMXClient(11839): MuxOMX ctor
I/MediaCodec(11839): [OMX.ARM.video.v5xx.decoder] setting surface generation to 12123137
I/ACodec  (11839): codec does not support config priority (err -1010)
D/SurfaceUtils(11839): set up nativeWindow 0x740e868c10 for 1080x608, color 0x32315659, rotation 0, usage 0x2900
I/OMXClient(11839): MuxOMX ctor
I/ACodec  (11839): codec does not support config priority (err -2147483648)
D/AudioTrack(11839): Client defaulted notificationFrames to 4725 for frameCount 14176
D/SurfaceUtils(11839): set up nativeWindow 0x740e868c10 for 1080x608, color 0x32315659, rotation 0, usage 0x2900
W/AudioTrack(11839): Spurious audio timestamp (frame position mismatch): 7944882, 18757628651, 18757638978, 60000, 16384, 15940
E/GLConsumer(11839): [SurfaceTexture-0-11839-0] attachToContext: invalid current EGLDisplay
E/flutter (11839): [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(40)] java.lang.RuntimeException: Error during attachToGLContext (see logcat for details)
E/flutter (11839):  at android.graphics.SurfaceTexture.attachToGLContext(SurfaceTexture.java:290)
E/flutter (11839): 
F/flutter (11839): [FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(124)] Check failed: CheckException(env). 
F/libc    (11839): Fatal signal 6 (SIGABRT), code -6 in tid 11862 (Thread-3)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Xiaomi/meri/meri:7.1.2/N2G47J/V9.6.2.0.NCJCNFD:user/release-keys'
Revision: '0'
ABI: 'arm64'
pid: 11839, tid: 11862, name: Thread-3  >>> licoy.cn.flutterapp2 <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(124)] Check failed: CheckException(env). 
'
    x0   0000000000000000  x1   0000000000002e56  x2   0000000000000006  x3   0000000000000008
    x4   0000000000000050  x5   0000000080000000  x6   000000743875a000  x7   0000000000973b4a
    x8   0000000000000083  x9   ffffffffffffffdf  x10  0000000000000000  x11  0000000000000001
    x12  ffffffffffffffff  x13  000000005b850e89  x14  0033a8206ec9ece4  x15  000027e74ba461d2
    x16  0000007437a9fee0  x17  0000007437a49364  x18  0000000071489180  x19  00000074170674f8
    x20  0000000000000006  x21  0000007417067450  x22  0000000000000000  x23  0000000000000001
    x24  0000007417066e28  x25  0000000000000000  x26  00000073f18d21e0  x27  0000007426aac050
    x28  0000110f5b1ca236  x29  0000007417066890  x30  0000007437a4680c
    sp   0000007417066870  pc   0000007437a4936c  pstate 0000000060000000
backtrace:
    #00 pc 000000000006b36c  /system/lib64/libc.so (tgkill+8)
    #01 pc 0000000000068808  /system/lib64/libc.so (pthread_kill+64)
    #02 pc 0000000000023d68  /system/lib64/libc.so (raise+24)
    #03 pc 000000000001c7ec  /system/lib64/libc.so (abort+52)
    #04 pc 00000000001788e4  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #05 pc 00000000001697b4  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #06 pc 0000000000160498  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #07 pc 0000000000160294  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #08 pc 00000000001737c0  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #09 pc 0000000000170480  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #10 pc 0000000000172f34  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #11 pc 0000000000170480  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #12 pc 0000000000173978  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #13 pc 000000000017201c  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #14 pc 000000000016f14c  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #15 pc 00000000001b0960  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #16 pc 00000000001b0c74  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #17 pc 00000000001b146c  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #18 pc 00000000001b0ddc  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #19 pc 00000000001b0ae8  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #20 pc 00000000001bb494  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #21 pc 0000000000179a00  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #22 pc 000000000017e0d0  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #23 pc 00000000000182c4  /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+852)
    #24 pc 0000000000017ec0  /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+60)
    #25 pc 000000000001107c  /system/lib64/libandroid.so (ALooper_pollOnce+100)
    #26 pc 000000000017e074  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #27 pc 0000000000179c7c  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #28 pc 000000000017c3d4  /data/app/licoy.cn.flutterapp2-1/lib/arm64/libflutter.so
    #29 pc 0000000000068010  /system/lib64/libc.so (_ZL15__pthread_startPv+196)
    #30 pc 000000000001da00  /system/lib64/libc.so (__start_thread+16)
Lost connection to device.
Licoy commented 6 years ago

退出调试,安装APP打开即正常