io.flutter.embedding.engine.FlutterJNI.ensureAttachedToNative
PierreBresson opened this issue · 0 comments
version 3.0.2
Fatal Exception: java.lang.RuntimeException: Cannot execute operation because FlutterJNI is not attached to native.
at io.flutter.embedding.engine.FlutterJNI.ensureAttachedToNative(:9)
at io.flutter.embedding.engine.FlutterJNI.setViewportMetrics(:37)
at io.flutter.embedding.engine.renderer.a.p(:193)
at io.flutter.embedding.android.k.x(:52)
at io.flutter.embedding.android.k.onApplyWindowInsets(:458)
at io.flutter.plugin.editing.ImeSyncDeferringInsetsCallback$b.onApplyWindowInsets(:35)
at android.view.View.dispatchApplyWindowInsets(View.java:11370)
at android.view.ViewGroup.dispatchApplyWindowInsets(ViewGroup.java:7410)
at android.view.ViewGroup.newDispatchApplyWindowInsets(ViewGroup.java:7435)
at android.view.ViewGroup.dispatchApplyWindowInsets(ViewGroup.java:7417)
at android.view.ViewGroup.newDispatchApplyWindowInsets(ViewGroup.java:7435)
at android.view.ViewGroup.dispatchApplyWindowInsets(ViewGroup.java:7417)
at android.view.ViewGroup.newDispatchApplyWindowInsets(ViewGroup.java:7435)
at android.view.ViewGroup.dispatchApplyWindowInsets(ViewGroup.java:7417)
at android.view.ViewGroup.newDispatchApplyWindowInsets(ViewGroup.java:7435)
at android.view.ViewGroup.dispatchApplyWindowInsets(ViewGroup.java:7417)
at android.view.ViewRootImpl.dispatchApplyInsets(ViewRootImpl.java:2416)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2654)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2076)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8506)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1076)
at android.view.Choreographer.doCallbacks(Choreographer.java:897)
at android.view.Choreographer.doFrame(Choreographer.java:826)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1061)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:236)
at android.app.ActivityThread.main(ActivityThread.java:8059)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967)