mynamecsl 2018-09-14 03:22 采纳率: 58%
浏览 692
已结题

android 8.0 Crash看不到具体信息?

跑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条回答

  • 丿灬序曲 2018-09-15 03:30
    关注

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

    评论

报告相同问题?

悬赏问题

  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?