0
点赞
收藏
分享

微信扫一扫

【HarmonyOS】【FAQ】使用hdc命令安装hap包时,出现以下错误: failed to install bundle. error: operation time out.

minute_5 2022-11-11 阅读 74

【问题描述】
hap包大小为121M,使用hdc命令安装时,出现以下错误提示:[Info]App install path:D:\OpenHarmony\WorkSpace\map\entry\build\default\outputs\default\entry-default-signed.hap, queuesize:0, msg:error: failed to install bundle. error: operation time out.


【解决方案】
使用bm命令安装应用时,默认超时时间为5s,如果超过这个时间,bm会返回安装超时,可以通过-w参数将超时时间延长,参考下面wiki,安装命令章节 ​​​https://gitee.com/openharmony/bundlemanager_bundle_framework#安装命令​​


欲了解更多更全技术文章,欢迎访问​​https://developer.huawei.com/consumer/cn/forum/?ha_source=zzh​​

举报

相关推荐

0 条评论