android 8.0 Crash看不到具体信息? 10C

跑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]

1个回答

java.lang.IllegalArgumentException,参数异常,找一下代码有没有有添加view的一些操作,做一些判断处理,主要是在一些点击操作,滑动操作位置查找

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问