枭云
枭云
  • 发布:2024-10-29 16:37
  • 更新:2024-11-01 19:22
  • 阅读:289

开发鸿蒙应用,使用uts插件授权麦克风权限之后,webview加载的h5还是无法调起录音功能

分类:鸿蒙Next

编辑器版本:4.29

2024-10-29 16:37 负责人:DCloud_uniCloud_WYQ 分享
已邀请:

最佳回复

DCloud

DCloud

HBuilderX 4.32.2024110103-alpha 已修复。

  • 枭云 (作者)

    4.32版本运行真机调试报错

    17:32:15.146 安装鸿蒙工程的依赖 ...

    17:32:16.141 ohpm INFO: MetaDataFetcher fetching meta info of package '@uni_modules/uni-payment-alipay' from https://ohpm.openharmony.cn/ohpm/

    ohpm INFO: MetaDataFetcher fetching meta info of package '@dcloudio/uni-app-runtime' from https://ohpm.openharmony.cn/ohpm/

    ohpm INFO: MetaDataFetcher fetching meta info of package '@ohos/hypium' from https://ohpm.openharmony.cn/ohpm/

    ohpm ERROR: missing: @dcloudio/uts-harmony@E:\hongmeng\aihuihua\ai_painting\unpackage\debug\app-harmony-2f573459\entry\src\main\ets\uts, required by @

    ohpm ERROR: Found exception: Error: Fetch local folder package error, E:\hongmeng\aihuihua\ai_painting\unpackage\debug\app-harmony-2f573459\entry\src\main\ets\uts does not exist., reached retry limit or non retryable error encountered.

    ohpm ERROR: ERUNNING execute tasks failed, Error: Fetch local folder package error, E:\hongmeng\aihuihua\ai_painting\unpackage\debug\app-harmony-2f573459\entry\src\main\ets\uts does not exist.

    ohpm ERROR: missing: @dcloudio/uni-app-harmony@E:\hongmeng\aihuihua\ai_painting\unpackage\debug\app-harmony-2f573459\entry\src\main\ets\uni-app-harmony, required by @

    ohpm ERROR: Found exception: Error: Fetch local folder package error, E:\hongmeng\aihuihua\ai_painting\unpackage\debug\app-harmony-2f573459\entry\src\main\ets\uni-app-harmony does not exist., reached retry limit or non retryable error encountered.

    ohpm ERROR: missing: @dcloudio/uni-app-harmony-framework@E:\hongmeng\aihuihua\ai_painting\unpackage\debug\app-harmony-2f573459\entry\src\main\resources\rawfile\uni-app, required by @

    ohpm ERROR: Found exception: Error: Fetch local folder package error, E:\hongmeng\aihuihua\ai_painting\unpackage\debug\app-harmony-2f573459\entry\src\main\resources\rawfile\uni-app does not exist., reached retry limit or non retryable error encountered.

    ohpm ERROR: Install failed, detail: Error: Fetch local folder package error, E:\hongmeng\aihuihua\ai_painting\unpackage\debug\app-harmony-2f573459\entry\src\main\ets\uts does not exist.

    17:32:16.141 安装鸿蒙工程依赖失败

    2024-11-05 17:36

枭云

枭云 (作者)

在安卓手机上面测试,开启麦克风权限后,h5录音就可以正常使用;但在鸿蒙app上面通过打印输出,发现即便授权麦克风权限之后,h5上面还是无法调起录音功能

DCloud_uniCloud_WYQ

DCloud_uniCloud_WYQ

下个alpha版本修复此问题

要回复问题请先登录注册