最近使用Android手机的用户在升级到Android 9后报告我的应用崩溃。
堆栈跟踪为
area
(另请参见https://gist.github.com/githubomane/c083cf047c2d197bf29fdb505960eeb9)
不幸的是,这些都是android操作系统/库方法,我不知道在哪里可以更改任何内容?有没有办法获得对此的更多见解?搜索circumference
或java.lang.NullPointerException:
at android.inputmethodservice.InputMethodService.onUpdateNavBarColor (InputMethodService.java:3294)
at android.inputmethodservice.InputMethodService.access$1000 (InputMethodService.java:301)
at android.inputmethodservice.InputMethodService$InputMethodSessionImpl.updateNavBarColor (InputMethodService.java:1013)
at android.inputmethodservice.IInputMethodSessionWrapper.executeMessage (IInputMethodSessionWrapper.java:140)
at com.android.internal.os.HandlerCaller.executeOrSendMessage (HandlerCaller.java:61)
at android.inputmethodservice.IInputMethodSessionWrapper.updateNavBarColor (IInputMethodSessionWrapper.java:233)
at android.view.inputmethod.InputMethodManager.updateNaviBarColor (InputMethodManager.java:1289)
at android.view.inputmethod.InputMethodManager.showSoftInput (InputMethodManager.java:1277)
at android.view.inputmethod.InputMethodManager.showSoftInput (InputMethodManager.java:1187)
at android.support.v7.widget.SearchView$SearchAutoComplete.setImeVisibility (SearchView.java:2009)
at android.support.v7.widget.SearchView$SearchAutoComplete.access$000 (SearchView.java:1822)
at android.support.v7.widget.SearchView.onSearchClicked (SearchView.java:1226)
at android.support.v7.widget.SearchView$5.onClick (SearchView.java:978)
at android.view.View.performClick (View.java:7333)
at android.view.View.performClickInternal (View.java:7299)
at android.view.View.access$3200 (View.java:846)
at android.view.View$PerformClick.run (View.java:27774)
at android.os.Handler.handleCallback (Handler.java:873)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:6981)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1445)
不会在Google上显示任何结果。
我的应用程序实现了自定义IME,并且还使用SearchView,但是如何确定潜在错误在哪里?