首页»版块 历史内容 历史内容 历史分类 bugly上收集到用户p30pro上的崩溃异常求助

bugly上收集到用户p30pro上的崩溃异常求助

[复制帖子标题和链接]

5032

荣耀粉丝185645075  LV3  发表于 2020-10-26 10:50:16 属地未知 来自:浏览器

最近bugly上收集到有用户在p30pro(android10)上使用我司的app频繁崩溃的信息,之前都没有这种崩溃,日志信息截图如上。(文字版本附在最后)
报错位置是在我们activity的onCreate()中调用getActionBar()的地方。目前bugly上只收集到部分用户的这种crash,我们使用远程的p30pro真机无法复现,能否指导下如何解决这个问题。

10-21 20:05:36.189 5598 5598 E AndroidRuntime: FATAL EXCEPTION: main
5610-21 20:05:36.189 5598 5598 E AndroidRuntime: Process: cn.com.**, PID: 5598
5710-21 20:05:36.189 5598 5598 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{cn.com.**Activity}: android.content.res.Resources$NotFoundException: Drawable cn.com.**:mipmap/g_icon with resource ID #0x7f030000
5810-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3895)
5910-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4074)
6010-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91)
6110-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
6210-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
6310-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2473)
6410-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:110)
6510-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.os.Looper.loop(Looper.java:219)
6610-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8347)
6710-21 20:05:36.189 5598 5598 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
6810-21 20:05:36.189 5598 5598 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
6910-21 20:05:36.189 5598 5598 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055)
7010-21 20:05:36.189 5598 5598 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Drawable cn.com.**mipmap/g_icon with resource ID #0x7f030000
7110-21 20:05:36.189 5598 5598 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: cannot use a recycled source in createBitmap
7210-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.graphics.Bitmap.createBitmap(Bitmap.java:1004)
7310-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:929)
7410-21 20:05:36.189 5598 5598 E AndroidRuntime: at huawei.android.hwutil.IconBitmapUtils.zoomIfNeed(IconBitmapUtils.java:173)
7510-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.content.res.HwResourcesImpl.handleAddIconBackground(HwResourcesImpl.java:547)
7610-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:959)
7710-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.content.res.Resources.getDrawableForDensity(Resources.java:994)
7810-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.content.res.Resources.getDrawable(Resources.java:933)
7910-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.content.Context.getDrawable(Context.java:687)
8010-21 20:05:36.189 5598 5598 E AndroidRuntime: at com.android.internal.widget.ActionBarView.setIcon(ActionBarView.java:687)
8110-21 20:05:36.189 5598 5598 E AndroidRuntime: at com.android.internal.widget.ActionBarOverlayLayout.setIcon(ActionBarOverlayLayout.java:921)
8210-21 20:05:36.189 5598 5598 E AndroidRuntime: at com.android.internal.policy.PhoneWindow.installDecor(PhoneWindow.java:2946)
8310-21 20:05:36.189 5598 5598 E AndroidRuntime: at com.android.internal.policy.PhoneWindow.getDecorView(PhoneWindow.java:2256)
8410-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.Activity.initWindowDecorActionBar(Activity.java:3432)
8510-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.Activity.getActionBar(Activity.java:3374)
8610-21 20:05:36.189 5598 5598 E AndroidRuntime: at cn.com.**.BaseActivity.setBackIconVisible(TbsSdkJava:60)
8710-21 20:05:36.189 5598 5598 E AndroidRuntime: at cn.com.**.BaseActivity.onCreate(TbsSdkJava:49)
8810-21 20:05:36.189 5598 5598 E AndroidRuntime: at cn.com.**Activity.onCreate(TbsSdkJava:127)
8910-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8085)
9010-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8073)
9110-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1320)
9210-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3868)
9310-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4074)
9410-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:91)
9510-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
9610-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
9710-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2473)
9810-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:110)
9910-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.os.Looper.loop(Looper.java:219)
10010-21 20:05:36.189 5598 5598 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8347)
10110-21 20:05:36.189 5598 5598 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10210-21 20:05:36.189 5598 5598 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
10310-21 20:05:36.189 5598 5598 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055)
评论2
您需要登录后才可以评论 登录 | 立即注册
简体中文 - China
快速回复 返回顶部 返回列表