xqqcom
xqqcom
  • 发布:2022-03-29 10:47
  • 更新:2023-04-07 11:28
  • 阅读:1226

uniapp安卓 原生崩溃,应该怎么处理?

分类:uni-app

2022/03/28 10:42:45 [crash] imei: md:RMX3350 p:a os:30 net:6 vb:1.9.9.81245 mc: appid:UNID007904 appcount:1 wvcount:1 pn:com.wyhdnet.application mem:17000kb etype:1 eurl: carsh_info:java.lang.RuntimeException: cancelAutoFocus failed
at android.hardware.Camera.native_cancelAutoFocus(Native Method)
at android.hardware.Camera.cancelAutoFocus(Camera.java:1412)
at io.dcloud.feature.barcode2.camera.CameraManager.removeAutoFocus(SourceFile:2)
at io.dcloud.feature.barcode2.decoding.CaptureActivityHandler.stopDecode(SourceFile:3)
at io.dcloud.feature.barcode2.decoding.CaptureActivityHandler.quitSynchronously(SourceFile:12)
at io.dcloud.feature.weex_barcode.BarcodeView.cancelScan(BarcodeView.java:275)
at io.dcloud.feature.weex_barcode.BarcodeView.handleDecode(BarcodeView.java:682)
at io.dcloud.feature.barcode2.decoding.CaptureActivityHandler.handleMessage(SourceFile:17)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:255)
at android.app.ActivityThread.main(ActivityThread.java:8235)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)

2022/03/28 10:57:40 [crash] imei: md:OXF-AN00 p:a os:29 net:0 vb:1.9.9.81245 mc: appid:UNID007904 appcount:1 wvcount:1 pn:com.wyhdnet.application mem:15180kb etype:1 eurl: carsh_info:java.lang.OutOfMemoryError
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:1266)
at android.graphics.Bitmap.createBitmap(Bitmap.java:1054)
at android.graphics.Bitmap.createBitmap(Bitmap.java:958)
at android.graphics.Bitmap.createBitmap(Bitmap.java:938)
at io.dcloud.feature.weex.adapter.FrescoLoadUtil$1$2.onNewResultImpl(FrescoLoadUtil.java:128)
at com.facebook.datasource.BaseDataSubscriber.onNewResult(BaseDataSubscriber.java:51)
at com.facebook.datasource.AbstractDataSource$1.run(AbstractDataSource.java:200)
at android.os.Handler.handleCallback(Handler.java:900)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8668)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)

2022/03/28 18:33:11 [crash] imei: md:V1831A p:a os:28 net:3 vb:1.9.9.81245 mc: appid:UNID007904 appcount:1 wvcount:1 pn:com.wyhdnet.application mem:9880kb etype:1 eurl: carsh_info:android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.packageinstaller (has extras) }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2016)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1813)
at android.app.Activity.startActivityForResult(Activity.java:5384)
at android.app.Activity.requestPermissions(Activity.java:4584)
at androidx.core.app.ActivityCompat.requestPermissions(ActivityCompat.java:502)
at io.dcloud.common.core.permission.PermissionControler.runRequestPermissions(SourceFile:6)
at io.dcloud.common.core.permission.PermissionControler.requestPermissions(SourceFile:7)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent.requestPermissions(WXAMapViewComponent.java:1708)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent.access$2900(WXAMapViewComponent.java:90)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent$34.execute(WXAMapViewComponent.java:964)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent.execPaddingTasks(WXAMapViewComponent.java:1778)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent.access$400(WXAMapViewComponent.java:90)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent$4$1.run(WXAMapViewComponent.java:287)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7071)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:536)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928)

2022/03/28 18:33:36 [crash] imei: md:V1831A p:a os:28 net:3 vb:1.9.9.81245 mc: appid:UNID007904 appcount:1 wvcount:1 pn:com.wyhdnet.application mem:7032kb etype:1 eurl: carsh_info:android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.packageinstaller (has extras) }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2016)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1813)
at android.app.Activity.startActivityForResult(Activity.java:5384)
at android.app.Activity.requestPermissions(Activity.java:4584)
at androidx.core.app.ActivityCompat.requestPermissions(ActivityCompat.java:502)
at io.dcloud.common.core.permission.PermissionControler.runRequestPermissions(SourceFile:6)
at io.dcloud.common.core.permission.PermissionControler.requestPermissions(SourceFile:7)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent.requestPermissions(WXAMapViewComponent.java:1708)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent.access$2900(WXAMapViewComponent.java:90)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent$34.execute(WXAMapViewComponent.java:964)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent.execPaddingTasks(WXAMapViewComponent.java:1778)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent.access$400(WXAMapViewComponent.java:90)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent$4$1.run(WXAMapViewComponent.java:287)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7071)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:536)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928)

2022/03/28 18:33:51 [crash] imei: md:V1831A p:a os:28 net:3 vb:1.9.9.81245 mc: appid:UNID007904 appcount:1 wvcount:1 pn:com.wyhdnet.application mem:8036kb etype:1 eurl: carsh_info:android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.android.packageinstaller (has extras) }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2016)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1813)
at android.app.Activity.startActivityForResult(Activity.java:5384)
at android.app.Activity.requestPermissions(Activity.java:4584)
at androidx.core.app.ActivityCompat.requestPermissions(ActivityCompat.java:502)
at io.dcloud.common.core.permission.PermissionControler.runRequestPermissions(SourceFile:6)
at io.dcloud.common.core.permission.PermissionControler.requestPermissions(SourceFile:7)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent.requestPermissions(WXAMapViewComponent.java:1708)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent.access$2900(WXAMapViewComponent.java:90)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent$34.execute(WXAMapViewComponent.java:964)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent.execPaddingTasks(WXAMapViewComponent.java:1778)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent.access$400(WXAMapViewComponent.java:90)
at io.dcloud.feature.weex_amap.component.WXAMapViewComponent$4$1.run(WXAMapViewComponent.java:287)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7071)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:536)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:928)
2022/03/26 16:10:05 [crash] imei: md:V2001A p:a os:29 net:0 vb:1.9.9.81245 mc: appid:UNID007904 appcount:1 wvcount:1 pn:com.wyhdnet.application mem:36608kb etype:1 eurl: carsh_info:java.lang.RuntimeException: cancelAutoFocus failed
at android.hardware.Camera.native_cancelAutoFocus(Native Method)
at android.hardware.Camera.cancelAutoFocus(Camera.java:1822)
at io.dcloud.feature.barcode2.camera.CameraManager.removeAutoFocus(SourceFile:2)
at io.dcloud.feature.barcode2.decoding.CaptureActivityHandler.stopDecode(SourceFile:3)
at io.dcloud.feature.barcode2.decoding.CaptureActivityHandler.quitSynchronously(SourceFile:12)
at io.dcloud.feature.weex_barcode.BarcodeView.cancelScan(BarcodeView.java:275)
at io.dcloud.feature.weex_barcode.BarcodeView.handleDecode(BarcodeView.java:682)
at io.dcloud.feature.barcode2.decoding.CaptureActivityHandler.handleMessage(SourceFile:17)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:230)
at android.app.ActivityThread.main(ActivityThread.java:8085)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:526)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)

2022/03/26 16:22:56 [crash] imei: md:PCKM00 p:a os:30 net:6 vb:1.9.9.81245 mc: appid:UNID007904 appcount:1 wvcount:0 pn:com.wyhdnet.application mem:25896kb etype:1 eurl: carsh_info:java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Rect.width()' on a null object reference
at io.dcloud.feature.barcode2.camera.CameraManager.getPortraitFramingRectInPreview(SourceFile:7)
at io.dcloud.feature.barcode2.camera.CameraManager.getFramingRectInPreview(SourceFile:2)
at io.dcloud.feature.barcode2.camera.CameraManager.buildLuminanceSource(SourceFile:1)
at io.dcloud.feature.barcode2.decoding.DecodeHandler.decode(SourceFile:1)
at io.dcloud.feature.barcode2.decoding.DecodeHandler.handleMessage(SourceFile:16)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:263)
at io.dcloud.feature.barcode2.decoding.DecodeThread.run(SourceFile:4)

2022/03/26 18:21:50 [crash] imei: md:PDPM00 p:a os:30 net:0 vb:1.9.9.81245 mc: appid:UNID007904 appcount:1 wvcount:-1 pn:com.wyhdnet.application mem:40332kb etype:1 eurl: carsh_info:java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Rect.width()' on a null object reference
at io.dcloud.feature.barcode2.camera.CameraManager.getPortraitFramingRectInPreview(SourceFile:7)
at io.dcloud.feature.barcode2.camera.CameraManager.getFramingRectInPreview(SourceFile:2)
at io.dcloud.feature.barcode2.camera.CameraManager.buildLuminanceSource(SourceFile:1)
at io.dcloud.feature.barcode2.decoding.DecodeHandler.decode(SourceFile:1)
at io.dcloud.feature.barcode2.decoding.DecodeHandler.handleMessage(SourceFile:16)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:257)
at io.dcloud.feature.barcode2.decoding.DecodeThread.run(SourceFile:4)

2022-03-29 10:47 负责人:DCloud_Android_ST 分享
已邀请:
uni小白菜

uni小白菜

您好,请问是怎么记录app崩溃信息的呢?

DCloud_Android_ST

DCloud_Android_ST

日志信息已收到 会系统的查看并优化

  • xqqcom (作者)

    谢谢!!

    2022-03-29 11:02

  • DCloud_Android_ST

    回复 xqqcom: 有些日志需要有复现场景 你这边是否遇到过崩溃

    2022-03-29 11:54

  • xqqcom (作者)

    回复 DCloud_Android_ST: 这个是发布了以后在管理后台看到的崩溃日志

    2022-03-29 16:44

  • xqqcom (作者)

    回复 DCloud_Android_ST: 2022/03/29 10:33:21 [crash] imei: md:PDYM20 p:a os:29 net:0 vb:1.9.9.81245 mc: appid:UNID007904 appcount:1 wvcount:0 pn:com.wyhdnet.application mem:16336kb etype:1 eurl: carsh_info:java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Rect.width()' on a null object reference

    at io.dcloud.feature.barcode2.camera.CameraManager.getPortraitFramingRectInPreview(SourceFile:7)

    at io.dcloud.feature.barcode2.camera.CameraManager.getFramingRectInPreview(SourceFile:2)

    at io.dcloud.feature.barcode2.camera.CameraManager.buildLuminanceSource(SourceFile:1)

    at io.dcloud.feature.barcode2.decoding.DecodeHandler.decode(SourceFile:1)

    at io.dcloud.feature.barcode2.decoding.DecodeHandler.handleMessage(SourceFile:16)

    at android.os.Handler.dispatchMessage(Handler.java:107)

    at android.os.Looper.loop(Looper.java:238)

    at io.dcloud.feature.barcode2.decoding.DecodeThread.run(SourceFile:4)


    2022/03/29 17:05:42 [crash] imei: md:V2034A p:a os:29 net:6 vb:1.9.9.81245 mc: appid:UNID007904 appcount:1 wvcount:0 pn:com.wyhdnet.application mem:23752kb etype:1 eurl: carsh_info:java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Rect.width()' on a null object reference

    at io.dcloud.feature.barcode2.camera.CameraManager.getPortraitFramingRectInPreview(SourceFile:7)

    at io.dcloud.feature.barcode2.camera.CameraManager.getFramingRectInPreview(SourceFile:2)

    at io.dcloud.feature.barcode2.camera.CameraManager.buildLuminanceSource(SourceFile:1)

    at io.dcloud.feature.barcode2.decoding.DecodeHandler.decode(SourceFile:1)

    at io.dcloud.feature.barcode2.decoding.DecodeHandler.handleMessage(SourceFile:16)

    at android.os.Handler.dispatchMessage(Handler.java:107)

    at android.os.Looper.loop(Looper.java:230)

    at io.dcloud.feature.barcode2.decoding.DecodeThread.run(SourceFile:4)


    2022/03/29 22:28:25 [crash] imei: md:Redmi Note 5 p:a os:28 net:6 vb:1.9.9.81245 mc: appid:UNID007904 appcount:1 wvcount:1 pn:com.wyhdnet.application mem:40496kb etype:1 eurl: carsh_info:java.lang.RuntimeException: cancelAutoFocus failed

    at android.hardware.Camera.native_cancelAutoFocus(Native Method)

    at android.hardware.Camera.cancelAutoFocus(Camera.java:1491)

    at io.dcloud.feature.barcode2.camera.CameraManager.removeAutoFocus(SourceFile:2)

    at io.dcloud.feature.barcode2.decoding.CaptureActivityHandler.stopDecode(SourceFile:3)

    at io.dcloud.feature.barcode2.decoding.CaptureActivityHandler.quitSynchronously(SourceFile:12)

    at io.dcloud.feature.weex_barcode.BarcodeView.cancelScan(BarcodeView.java:275)

    at io.dcloud.feature.weex_barcode.BarcodeView.handleDecode(BarcodeView.java:682)

    at io.dcloud.feature.barcode2.decoding.CaptureActivityHandler.handleMessage(SourceFile:17)

    at android.os.Handler.dispatchMessage(Handler.java:106)

    at android.os.Looper.loop(Looper.java:201)

    at android.app.ActivityThread.main(ActivityThread.java:6810)

    at java.lang.reflect.Method.invoke(Native Method)

    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)

    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)

    2022-03-30 11:19

  • DCloud_Android_ST

    回复 xqqcom: 有测试账户吗 我们要测试下应用看看是否可以复现问题

    2022-03-30 11:42

h***@163.com

h***@163.com

您好,请问是怎么记录app崩溃信息的呢?

要回复问题请先登录注册