Java.lang.RuntimeException: InputChannel not initialized

I am developing an Android application. I have encountered this crash many times recently, and I found this question https://code.google.com/p/android/issues/detail?id=108859 , is there any way to avoid this crash?

java.lang.RuntimeException: InputChannel is not initialized. at android.view.InputEventReceiver.nativeInit(InputEventReceiver.java) at android.view.InputEventReceiver.<init>(InputEventReceiver.java) at android.view.ViewRootImpl$WindowInputEventReceiver.<init>(ViewRootImpl.java) at android.view.ViewRootImpl.setView(ViewRootImpl.java) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java) at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java) at android.view.Window$LocalWindowManager.addView(Window.java) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java) at android.app.ActivityThread.access$600(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java) at android.os.Handler.dispatchMessage(Handler.java) at android.os.Looper.loop(Looper.java) at android.app.ActivityThread.main(ActivityThread.java) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java) at dalvik.system.NativeStart.main(NativeStart.java) 
+7
android
source share

No one has answered this question yet.

See related questions:

140
Failed to create com.android.tools.fd.runtime.BootstrapApplication?
2
android.os.DeadObjectException, maybe fix it?
one
Android using Firebase Build APK works fine, but APK crashes
one
Exception when testing my application on the device by connecting divce with usb
0
Null pointer exception when loading items into a counter
0
my activity leaked out the window and I cannot find a solution
0
Activility leaked into the com.android.internal.policy.impl.PhoneWindow$DecorView@42acff18 window, which was originally added here.
0
Using the GoogleApiAvailability isGooglePlayServicesAvailable () class causes the application to crash
-2
Please help me get the following error when I try to integrate Twitter into my application
-5
EditText not working

All Articles