Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

从flutter页面退回到原生页面崩溃,手机型号华为荣耀20,android 版本9 #353

Closed
RootKatherine opened this issue Sep 2, 2019 · 3 comments
Labels
Android Android Only flutter1.5_upgrade_opt flutter1.5 upgrade & optimization

Comments

@RootKatherine
Copy link

2019-08-31 14:13:34.507 29446-30040E/SurfaceView: surfacePositionLost_uiRtSync mSurfaceControl = null
2019-08-31 14:13:34.509 29446-29446/ E/flutter: [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(40)] java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.view.ViewParent.requestSendAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent)' on a null object reference
at io.flutter.view.AccessibilityBridge.sendAccessibilityEvent(AccessibilityBridge.java:1461)
at io.flutter.view.AccessibilityBridge.createAndSendWindowChangeEvent(AccessibilityBridge.java:1478)
at io.flutter.view.AccessibilityBridge.updateSemantics(AccessibilityBridge.java:1268)
at io.flutter.view.AccessibilityBridge$1.updateSemantics(AccessibilityBridge.java:269)
at io.flutter.embedding.engine.FlutterJNI.updateSemantics(FlutterJNI.java:439)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:386)
at android.os.Looper.loop(Looper.java:175)
at android.app.ActivityThread.main(ActivityThread.java:7625)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
2019-08-31 14:13:34.510 29446-29446/ A/flutter: [FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(96)] Check failed: CheckException(env).
2019-08-31 14:13:34.512 2408-7673/? E/HsmCoreServiceImpl: onTransact in code is: 103
2019-08-31 14:13:34.637 1465-1871/? E/WindowManager: win=Window{b9d4b48 u0 GestureNavAnim} destroySurfaces: appStopped=true win.mWindowRemovalAllowed=false win.mRemoveOnExit=false
2019-08-31 14:13:34.826 29446-30331/ E/Ingkee:a: [, , 0]:CrashType : 2
2019-08-31 14:13:34.826 29446-30331/ E/Ingkee:a: [, , 0]:ErrorType : SIGABRT
2019-08-31 14:13:34.826 29446-30331/ E/Ingkee:a: [, , 0]:ErrorMessage :
2019-08-31 14:13:34.826 29446-30331/ E/Ingkee:a: [, , 0]:ErrorStack : #00 pc 0001d796 /system/lib/libc.so (abort+57) [armeabi-v7a::f76ceabc8d849a203baefd7b78a981d0]
#1 pc 001374df /data/ap-uAg21UU4vQHZ5_DjRf7LLw==/lib/arm/libflutter.so [armeabi-v7a::bb45fd19f169eb5441970181b0b00b84]
#2 pc 0012ccbb /data/app/-uAg21UU4vQHZ5_DjRf7LLw==/lib/arm/libflutter.so [armeabi-v7a::bb45fd19f169eb5441970181b0b00b84]
#3 pc 0015ec51 /data/app-uAg21UU4vQHZ5_DjRf7LLw==/lib/arm/libflutter.so [armeabi-v7a::bb45fd19f169eb5441970181b0b00b84]
#4 pc 00137b09 /data/app-uAg21UU4vQHZ5_DjRf7LLw==/lib/arm/libflutter.so [armeabi-v7a::bb45fd19f169eb5441970181b0b00b84]
#5 pc 0013a401 /data/app/-uAg21UU4vQHZ5_DjRf7LLw==/lib/arm/libflutter.so [armeabi-v7a::bb45fd19f169eb5441970181b0b00b84]
#6 pc 0000f3b7 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+726) [armeabi-v7a::b85a212d01259cb4100ed3309e39b921]
#7 pc 0000f05f /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+26) [armeabi-v7a::b85a212d01259cb4100ed3309e39b921]
#8 pc 000aea79 /system/lib/libandroid_runtime.so [armeabi-v7a::b8059c37da3d21b0248d4c0f149190cb]
#9 pc 003fc45d /system/framework/arm/boot-framework.oat [armeabi::64e762ce2b84cfd626794b8923b7f308]
java:
android.os.MessageQueue.next(MessageQueue.java:386)
android.os.Looper.loop(Looper.java:175)
android.app.ActivityThread.main(ActivityThread.java:7625)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)

@zjuwjf
Copy link
Collaborator

zjuwjf commented Sep 2, 2019

能提供你使用的flutter-sdk版本和flutter-boost的版本么?
如果可以,请提供下最小化的demo。

@RootKatherine
Copy link
Author

RootKatherine commented Sep 2, 2019

flutter boost demo就会,
flutter sdk : 1.7.8.4,
flutter-boost 0.4.20

@zjuwjf zjuwjf added the flutter1.5_upgrade_opt flutter1.5 upgrade & optimization label Sep 3, 2019
@zjuwjf
Copy link
Collaborator

zjuwjf commented Sep 3, 2019

flutter 1.7 我们目前还未支持, 请使用flutter 1.5的stable 版本

@xujim xujim added the Android Android Only label Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Android Only flutter1.5_upgrade_opt flutter1.5 upgrade & optimization
Projects
None yet
Development

No branches or pull requests

4 participants