这是一个非常奇怪的小米设备的 *** 作系统异常.即使我有Fabric提供的日志,堆栈跟踪也不会引用我的任何代码.
crashalytics(Fabric)报告的崩溃细节如下所示,
> 21K崩溃
>所有小米设备都崩溃了
>在Android OS版本6,7和8上崩溃
崩溃日志:
# OS Version: 8.1.0# Device: Redmi Note 5 pro# RAM Free: 30.1%# disk Free: 74.2%#0. Crashed: main at androID.Widget.Editor.touchpositionIsInSelection(Editor.java:1084) at androID.Widget.Editor.performlongClick(Editor.java:1205) at androID.Widget.TextVIEw.performlongClick(TextVIEw.java:10908) at androID.vIEw.VIEw.performlongClick(VIEw.java:6360) at androID.vIEw.VIEw$CheckForLongPress.run(VIEw.java:24768) at androID.os.Handler.handleCallback(Handler.java:790) at androID.os.Handler.dispatchMessage(Handler.java:99) at androID.os.Looper.loop(Looper.java:171) at androID.app.ActivityThread.main(ActivityThread.java:6606) at java.lang.reflect.Method.invoke(Method.java) at com.androID.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518) at com.androID.internal.os.ZygoteInit.main(ZygoteInit.java:823)--Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int androID.Widget.Editor$SelectionModifIErCursorController.getMintouchOffset()' on a null object reference at androID.Widget.Editor.touchpositionIsInSelection(Editor.java:1084) at androID.Widget.Editor.performlongClick(Editor.java:1205) at androID.Widget.TextVIEw.performlongClick(TextVIEw.java:10908) at androID.vIEw.VIEw.performlongClick(VIEw.java:6360) at androID.vIEw.VIEw$CheckForLongPress.run(VIEw.java:24768) at androID.os.Handler.handleCallback(Handler.java:790) at androID.os.Handler.dispatchMessage(Handler.java:99) at androID.os.Looper.loop(Looper.java:171) at androID.app.ActivityThread.main(ActivityThread.java:6606) at java.lang.reflect.Method.invoke(Method.java) at com.androID.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518) at com.androID.internal.os.ZygoteInit.main(ZygoteInit.java:823)#0. Crashed: main at androID.Widget.Editor.touchpositionIsInSelection(Editor.java:1084) at androID.Widget.Editor.performlongClick(Editor.java:1205) at androID.Widget.TextVIEw.performlongClick(TextVIEw.java:10908) at androID.vIEw.VIEw.performlongClick(VIEw.java:6360) at androID.vIEw.VIEw$CheckForLongPress.run(VIEw.java:24768) at androID.os.Handler.handleCallback(Handler.java:790) at androID.os.Handler.dispatchMessage(Handler.java:99) at androID.os.Looper.loop(Looper.java:171) at androID.app.ActivityThread.main(ActivityThread.java:6606) at java.lang.reflect.Method.invoke(Method.java) at com.androID.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:518) at com.androID.internal.os.ZygoteInit.main(ZygoteInit.java:823)
类似参考:
https://issuetracker.google.com/issues/37127697
java.lang.NullPointerException with Nougat
还问小米官方论坛http://en.miui.com/forum.php?mod=viewthread&tid=4595164
请尽快提供任何有效的解决方案.因为用户不应对这些崩溃感到满意.
提前致谢.
解决方法:
您的应用中是否有自定义TextVIEw?它可能是可调整大小还是具有其他功能?
小米的AndroID皮肤可能会干扰它,并导致崩溃.我建议您尝试长按应用中的所有TextVIEw.
总结以上是内存溢出为你收集整理的NullPointerException:int android.widget.Editor $SelectionModifierCursorController.getMinTouchOffset(全部内容,希望文章能够帮你解决NullPointerException:int android.widget.Editor $SelectionModifierCursorController.getMinTouchOffset(所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)