跑Monkey跑出来的,也不知道复现步骤,报错直接ViewGroup了,追了下只知道可能是焦点问题,但定位不了具体地方,不知道怎么追了。求指导
--------- beginning of crash
09-11 03:30:45.063 2178 2178 E AndroidRuntime: FATAL EXCEPTION: main
09-11 03:30:45.063 2178 2178 E AndroidRuntime: Process: com.android.systemui, PID: 2178
09-11 03:30:45.063 2178 2178 E AndroidRuntime: java.lang.IllegalArgumentException: parameter must be a descendant of this view
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.view.ViewGroup.offsetRectBetweenParentAndChild(ViewGroup.java:5959)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.view.ViewGroup.offsetDescendantRectToMyCoords(ViewGroup.java:5888)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.view.ViewRootImpl.scrollToRectOrFocus(ViewRootImpl.java:3279)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.view.ViewRootImpl.draw(ViewRootImpl.java:2879)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2810)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2363)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1396)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6773)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:966)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:778)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:713)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:952)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:790)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6518)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
09-11 03:30:45.063 2178 2178 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
09-11 03:30:45.077 3176 3288 E GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
09-11 03:30:45.113 1176 3065 I am_crash: [2178,0,com.android.systemui,952647181,java.lang.IllegalArgumentException,parameter must be a descendant of this view,ViewGroup.java,5959]
09-11 03:30:44.836 2178 2178 W ViewRootImpl[RecentsActivity]: Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_RIGHT, scanCode=0, metaState=0, flags=0x28, repeatCount=0, eventTime=26982761, downTime=26982761, deviceId=-1, source=0x101 }
09-11 03:30:45.156 1176 3065 W ActivityManager: Force-killing crashed app com.android.systemui at watcher's request
09-11 03:30:45.165 1176 3065 W ActivityManager: Force finishing activity com.android.systemui/.recents.RecentsActivity
09-11 03:30:45.166 1176 3065 I am_finish_activity: [0,29690108,13,com.android.systemui/.recents.RecentsActivity,force-crash]
android 8.0 Crash看不到具体信息?
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- 丿灬序曲 2018-09-15 03:30关注
java.lang.IllegalArgumentException,参数异常,找一下代码有没有有添加view的一些操作,做一些判断处理,主要是在一些点击操作,滑动操作位置查找
解决 无用评论 打赏 举报
悬赏问题
- ¥15 matlab有关常微分方程的问题求解决
- ¥15 perl MISA分析p3_in脚本出错
- ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
- ¥15 ubuntu虚拟机打包apk错误
- ¥199 rust编程架构设计的方案 有偿
- ¥15 回答4f系统的像差计算
- ¥15 java如何提取出pdf里的文字?
- ¥100 求三轴之间相互配合画圆以及直线的算法
- ¥100 c语言,请帮蒟蒻写一个题的范例作参考
- ¥15 名为“Product”的列已属于此 DataTable