本文共 1681 字,大约阅读时间需要 5 分钟。
复制下面代码,保存为html,浏览器打开预览即可。
SuperCatch Crash!!!====================Crash日志开始记录====================Crash Time: 2017-12-20 06:08:51Crash Thread: mainCrash Digest: java.lang.IllegalStateException: Could not execute method for android:onClickCrash StackTrace: java.lang.IllegalStateException: Could not execute method for android:onClick at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293) at android.view.View.performClick(View.java:5646) at android.view.View$PerformClick.run(View.java:22459) at android.os.Handler.handleCallback(Handler.java:761) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:156) at android.app.ActivityThread.main(ActivityThread.java:6523) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288) ... 9 moreCaused by: java.lang.NullPointerException: Wa Null Point Exception at me.chunsheng.supercatch.MainActivity.crashTest(MainActivity.java:19) ... 11 more******Crash设备当前信息******Device Name: HUAWEI EVA-AL00Android Version: 7.0Device System: EVA-AL00C00B398Device Battery: 100 %Device Rooted: noDevice Ram: 43.0% [2.00 GB]Device Disk: 73.0% [25.00 GB]App Verion: 1.0Device Network: WIFI====================Crash日志结束记录====================
转载地址:http://mnybx.baihongyu.com/