Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/209.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/variables/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
android.inputmethodservice.IIInputMethodWrapper.setSessionEnabled(IIInputMethodWrapper.java:280)崩溃_Android_Error Handling_Runtimeexception_Android Input Method - Fatal编程技术网

android.inputmethodservice.IIInputMethodWrapper.setSessionEnabled(IIInputMethodWrapper.java:280)崩溃

android.inputmethodservice.IIInputMethodWrapper.setSessionEnabled(IIInputMethodWrapper.java:280)崩溃,android,error-handling,runtimeexception,android-input-method,Android,Error Handling,Runtimeexception,Android Input Method,我的应用程序在Android 4设备上崩溃。它发生在我在viewPager中滚动recyclerView时 为什么会出现这种错误 0805/? W/Binder: Caught a RuntimeException from the binder stub implementation. java.lang.NullPointerException

我的应用程序在Android 4设备上崩溃。它发生在我在viewPager中滚动recyclerView时 为什么会出现这种错误

 0805/? W/Binder: Caught a RuntimeException from the binder stub implementation.
                                             java.lang.NullPointerException
                                                 at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)
                                                 at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
                                                 at android.os.Binder.execTransact(Binder.java:404)
                                                 at dalvik.system.NativeStart.run(Native Method)
    08-16 10:58:44.238 926-10805/? W/System.err: java.lang.NullPointerException
    08-16 10:58:44.244 926-10805/? W/System.err:     at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)
    08-16 10:58:44.245 926-10805/? W/System.err:     at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
    08-16 10:58:44.245 926-10805/? W/System.err:     at android.os.Binder.execTransact(Binder.java:404)
    08-16 10:58:44.245 926-10805/? W/System.err:     at dalvik.system.NativeStart.run(Native Method)

可能您的模块中的某些库的级别较低。就像

implementation 'com.android.support:leanback-v17:25.3.1'
试着换成

implementation 'com.android.support:leanback-v17:26.1.0'

你弄明白了吗?有相同的问题你的应用程序中有任何服务吗?这里有相同的问题吗?我重新启动应用程序时发生了这种情况-有一些服务,但我以前停止过。有解决方案吗?在安卓4.4中有这个问题吗