我的 Android 应用程序崩溃报告服务报告了很多实例:
java.lang.RuntimeException: Callbacks must set parent bounds in populateNodeForVirtualViewId()
at iv.a(SourceFile:56)
at iw.a(SourceFile:716)
at hq.a(SourceFile:112)
at hw.createAccessibilityNodeInfo(SourceFile:42)
at android.view.AccessibilityInteractionController$AccessibilityNodePrefetcher.prefetchAccessibilityNodeInfos(AccessibilityInteractionController.java:724)
at android.view.AccessibilityInteractionController.findAccessibilityNodeInfoByAccessibilityIdUiThread(AccessibilityInteractionController.java:147)
at android.view.AccessibilityInteractionController.access$300(AccessibilityInteractionController.java:49)
at android.view.AccessibilityInteractionController$PrivateHandler.handleMessage(AccessibilityInteractionController.java:971)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5140)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
at dalvik.system.NativeStart.main(Native Method)
感觉与我没有真正处理过的辅助功能问题有关,但我该如何开始解决这个问题?调用堆栈没有指向任何方向
我尝试将 contentDescription xml 标记添加到我的代码中的所有地方,lint 告诉我它丢失了,但它没有帮助
编辑: 发现问题,当我在启用触摸探索(对讲?)的情况下在 map fragment 上方显示 StreetViewPanoramaFragment 时发生崩溃。
我不知道是什么原因造成的,我想我会另开一个更有针对性的问题
最佳答案
发现问题,当我在启用触摸浏览(对讲?)的情况下在 map fragment 上方显示 StreetViewPanoramaFragment 时发生崩溃。
我不知道是什么原因造成的,我想我会另开一个更有针对性的问题
关于android - 异常 : Callbacks must set parent bounds in populateNodeForVirtualViewId(),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25460195/