Jac*_*777 5 error-handling android runtimeexception android-input-method
我的应用在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)
Run Code Online (Sandbox Code Playgroud)
小智 0
也许你在你的模块gradle中实现了一些库较低。就像
implementation 'com.android.support:leanback-v17:25.3.1'
Run Code Online (Sandbox Code Playgroud)
尝试更改为
implementation 'com.android.support:leanback-v17:26.1.0'
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1158 次 |
| 最近记录: |