d***@163.com
d***@163.com
  • 发布:2019-09-29 11:12
  • 更新:2019-09-29 11:12
  • 阅读:1498

离线打包调用摄像头出现闪退

分类:HBuilderX

已经按Feature-Android.xls 文档配置,其他数据显示没有问题,调用摄像头会出现闪退

D/HwSensorManager: HwSensorManager version: 1.0.0
D/HwCust: Create obj success use class android.content.res.HwCustHwResourcesImpl
I/HwResources: load icon id : 7f020196, pkgName : com.huawei.camera
W/CfgFilePolicy: No config file found for:xml/hw_launcher_load_icon.xml
I/HwResources: icon : com.huawei.camera found in theme
W/System.err: java.lang.IllegalArgumentException: Couldn't find meta-data for provider with authority bjpcpc.com.dc.fileprovider
at androidx.core.content.FileProvider.parsePathStrategy(FileProvider.java:606)
at androidx.core.content.FileProvider.getPathStrategy(FileProvider.java:579)
at androidx.core.content.FileProvider.getUriForFile(FileProvider.java:417)
at io.dcloud.common.adapter.ui.FileChooseDialog.<init>(FileChooseDialog.java:93)
W/System.err: at io.dcloud.common.adapter.ui.WebJsEvent.openFileChooserLogic(WebJsEvent.java:456)
at io.dcloud.common.adapter.ui.WebJsEvent.onShowFileChooser(WebJsEvent.java:434)
at com.android.webview.chromium.WebViewContentsClientAdapter.showFileChooser(WebViewContentsClientAdapter.java:1091)
at org.chromium.android_webview.AwWebContentsDelegateAdapter.runFileChooser(AwWebContentsDelegateAdapter.java:227)
at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:41)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:210)
at android.app.ActivityThread.main(ActivityThread.java:5932)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:956)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:817)
A/chromium: [FATAL:jni_android.cc(236)] Please include Java exception stack in crash report
W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
Chrome build fingerprint:
W/google-breakpad: 1.0

2019-09-29 11:12 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复