在android.inputmethodservice.IInputMethodWrapper.setSessionEn



我的应用程序在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)

也许你在你的模块中实现了一些库 gradle更低。就像

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

尝试更改

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

相关内容

  • 没有找到相关文章

最新更新