3***@qq.com
3***@qq.com
  • 发布:2022-08-23 16:30
  • 更新:2022-08-25 11:02
  • 阅读:130

【报Bug】同步资源失败,无法重启,请手动重启后重新运行

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win10专业版

HBuilderX类型: 正式

HBuilderX版本号: 3.5.3

手机系统: Android

手机系统版本号: Android 11

手机厂商: 华为

手机机型: 荣耀50SE

页面类型: nvue

vue版本: vue3

nvue编译模式: fast

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

打开HBuilderx 选择项目 运行项目到荣耀手机

预期结果:

16:15:50.973 同步资源失败,无法重启,请手动重启后重新运行
16:15:51.002 已停止运行...

实际结果:

不报错,正常运行

bug描述:

运行到项目到荣耀手机报错

16:15:46.295 正在同步手机端程序文件...  
16:15:47.924 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./pages/camera/camera.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/pages/camera/camera.js  
16:15:47.948 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./pages/cmarea_vue/cmarea_vue.css -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/pages/cmarea_vue/cmarea_vue.css  
16:15:47.980 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./pages/index/child/child.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/pages/index/child/child.js  
16:15:48.011 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./pages/index/index.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/pages/index/index.js  
16:15:48.047 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./pages/input/input.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/pages/input/input.js  
16:15:48.075 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./pages/news/news.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/pages/news/news.js  
16:15:48.108 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./pages/video/video.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/pages/video/video.js  
16:15:48.136 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./static/components/mp-html/node/node.vue -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/static/components/mp-html/node/node.vue  
16:15:48.170 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./static/components/mp-html/parser.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/static/components/mp-html/parser.js  
16:15:48.194 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./static/components/mp-html/mp-html.vue -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/static/components/mp-html/mp-html.vue  
16:15:48.238 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./static/logo.png -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/static/logo.png  
16:15:48.261 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./__uniappview.html -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappview.html  
16:15:48.289 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./__uniappsuccess.png -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappsuccess.png  
16:15:48.321 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./__uniappscan.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappscan.js  
16:15:48.354 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./__uniappquillimageresize.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappquillimageresize.js  
16:15:48.381 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./__uniappquill.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappquill.js  
16:15:48.413 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./__uniapppicker.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniapppicker.js  
16:15:48.444 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./__uniappopenlocation.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappopenlocation.js  
16:15:48.478 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./__uniapperror.png -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniapperror.png  
16:15:48.510 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./__uniappchooselocation.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappchooselocation.js  
16:15:48.547 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./__uniappautomator.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappautomator.js  
16:15:48.569 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./uni-app-view.umd.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/uni-app-view.umd.js  
16:15:48.600 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./manifest.json -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/manifest.json  
16:15:48.631 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./app.css -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/app.css  
16:15:48.661 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./app-service.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/app-service.js  
16:15:48.692 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./app-config.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/app-config.js  
16:15:48.730 push: E:\study\nvue������Ƶ\vue3\unpackage\dist\dev\app-plus/./app-config-service.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/app-config-service.js  
16:15:48.757 27 files pushed. 0 files skipped.  
16:15:48.786 621 KB/s (896515 bytes in 1.407s)  
16:15:50.973 同步资源失败,无法重启,请手动重启后重新运行  
16:15:51.002 已停止运行...
2022-08-23 16:30 负责人:无 分享
已邀请:
DCloud_UNI_XU

DCloud_UNI_XU

试一下把APP删掉重新运行可以吗

  • 3***@qq.com (作者)

    APP删除后重新运行还是报错

    2022-08-23 16:43

3***@qq.com

3***@qq.com (作者)

APP删除后重新运行还会报错

3***@qq.com

3***@qq.com (作者)

有没有大神知道这是怎么回事

DCloud_Android_THB

DCloud_Android_THB

去掉中文试试

  • 3***@qq.com (作者)

    去掉中文还是报错


    15:36:24.356 检测到正在运行真机调试的是安卓11设备,可能会出现读写失败问题,如遇到此类问题,请参考 https://ask.dcloud.net.cn/article/97  
    15:36:24.702 rm: ѡ��.png: No such file or directory
    15:36:25.791 rm: ѡ��.png: No such file or directory
    15:36:25.821 正在同步手机端程序文件...
    15:36:26.915 push: E:\study\vue3\unpackage\dist\dev\app-plus/./pages/camera/camera.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/pages/camera/camera.js
    15:36:26.942 push: E:\study\vue3\unpackage\dist\dev\app-plus/./pages/index/child/child.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/pages/index/child/child.js
    15:36:26.974 push: E:\study\vue3\unpackage\dist\dev\app-plus/./pages/index/index.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/pages/index/index.js
    15:36:27.003 push: E:\study\vue3\unpackage\dist\dev\app-plus/./pages/input/input.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/pages/input/input.js
    15:36:27.033 push: E:\study\vue3\unpackage\dist\dev\app-plus/./pages/news/news.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/pages/news/news.js
    15:36:27.067 push: E:\study\vue3\unpackage\dist\dev\app-plus/./pages/video/video.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/pages/video/video.js
    15:36:27.098 push: E:\study\vue3\unpackage\dist\dev\app-plus/./static/components/mp-html/node/node.vue -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/static/components/mp-html/node/node.vue
    15:36:27.129 push: E:\study\vue3\unpackage\dist\dev\app-plus/./static/components/mp-html/parser.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/static/components/mp-html/parser.js
    15:36:27.160 push: E:\study\vue3\unpackage\dist\dev\app-plus/./static/components/mp-html/mp-html.vue -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/static/components/mp-html/mp-html.vue
    15:36:27.192 push: E:\study\vue3\unpackage\dist\dev\app-plus/./static/logo.png -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/static/logo.png
    15:36:27.221 push: E:\study\vue3\unpackage\dist\dev\app-plus/./__uniappview.html -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappview.html
    15:36:27.251 push: E:\study\vue3\unpackage\dist\dev\app-plus/./__uniappsuccess.png -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappsuccess.png
    15:36:27.284 push: E:\study\vue3\unpackage\dist\dev\app-plus/./__uniappscan.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappscan.js
    15:36:27.317 push: E:\study\vue3\unpackage\dist\dev\app-plus/./__uniappquillimageresize.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappquillimageresize.js
    15:36:27.346 push: E:\study\vue3\unpackage\dist\dev\app-plus/./__uniappquill.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappquill.js
    15:36:27.379 push: E:\study\vue3\unpackage\dist\dev\app-plus/./__uniapppicker.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniapppicker.js
    15:36:27.412 push: E:\study\vue3\unpackage\dist\dev\app-plus/./__uniappopenlocation.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappopenlocation.js
    15:36:27.440 push: E:\study\vue3\unpackage\dist\dev\app-plus/./__uniappes6.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappes6.js
    15:36:27.474 push: E:\study\vue3\unpackage\dist\dev\app-plus/./__uniapperror.png -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniapperror.png
    15:36:27.506 push: E:\study\vue3\unpackage\dist\dev\app-plus/./__uniappchooselocation.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/__uniappchooselocation.js
    15:36:27.536 push: E:\study\vue3\unpackage\dist\dev\app-plus/./view.umd.min.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/view.umd.min.js
    15:36:27.568 push: E:\study\vue3\unpackage\dist\dev\app-plus/./view.css -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/view.css
    15:36:27.601 push: E:\study\vue3\unpackage\dist\dev\app-plus/./manifest.json -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/manifest.json
    15:36:27.630 push: E:\study\vue3\unpackage\dist\dev\app-plus/./app-view.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/app-view.js
    15:36:27.657 push: E:\study\vue3\unpackage\dist\dev\app-plus/./app-service.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/app-service.js
    15:36:27.691 push: E:\study\vue3\unpackage\dist\dev\app-plus/./app-config.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/app-config.js
    15:36:27.721 push: E:\study\vue3\unpackage\dist\dev\app-plus/./app-config-service.js -> /sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/app-config-service.js
    15:36:27.751 27 files pushed. 0 files skipped.
    15:36:27.782 2605 KB/s (1979325 bytes in 0.741s)
    15:36:27.814 同步手机端程序文件完成
    15:36:28.475 copyFile error src=/sdcard/DCloud/temp/io.dcloud.HBuilder/apps/HBuilder/Command-0/www/static/ dest=/sdcard/Android/data/io.dcloud.HBuilder/apps/HBuilder/www/static/
    15:36:30.097 同步资源失败,无法重启,请手动重启后重新运行
    15:36:30.127 已停止运行...

    2022-08-24 15:37

  • DCloud_Android_THB

    回复 3***@qq.com: 你更新到最新hx ,最新的调试已经解决此问题。

    2022-08-24 16:27

  • 3***@qq.com (作者)

    回复 DCloud_Android_THB: 已经更新到最新了

    2022-08-25 08:46

3***@qq.com

3***@qq.com (作者)

HBuilderx更新到最新版本还是会报错

要回复问题请先登录注册