之前一直可以可以调试,可以保证手机没有问题,也换了几个手机也是这个问题。打标准运行基座,没有问题,就是自定义基座不能用。
- 发布:2022-05-12 14:50
- 更新:2023-03-01 19:55
- 阅读:3418
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: WIN10
HBuilderX类型: 正式
HBuilderX版本号: 3.4.7
手机系统: Android
手机系统版本号: Android 11
手机厂商: 1+
手机机型: 9rt
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
可以正常运行自定义基座。
可以正常运行自定义基座。
实际结果:
可以正常运行自定义基座。
可以正常运行自定义基座。
bug描述:
正在建立手机连接...
手机端调试基座版本号为2.1.2,版本号相同,跳过基座更新
正在同步手机端程序文件...
356 files pushed. 0 files skipped.
3472 KB/s (90176570 bytes in 25.358s)
同步手机端程序文件完成
同步资源失败,无法重启,请手动重启后重新运行
已停止运行...
查看日志之后,全部是错误,麻烦看下什么问题:
2022-05-12 14:36:08.360 [WARNING:] QLayout: Cannot add a null widget to QVBoxLayout/
2022-05-12 14:36:08.361 [WARNING:] QLayout: Attempting to add QLayout "" to ExtFormDialog "", which already has a layout
2022-05-12 14:36:08.362 [WARNING:] QLayout: Attempting to add QLayout "" to ExtFormDialog "", which already has a layout
2022-05-12 14:37:23.381 [WARNING:] [PluginHost] refreshListData: QJsonValue(object, QJsonObject({"code":1,"device":{"name":"ae99064","platform":"android","runState":0,"runStateStr":"","udid":"ae99064","version":"11"},"userData":{"platform":"android","runningDevices":[],"workspaceFolder":{"id":"{eba3dffa-2c4a-4ced-ab5f-1606643e8ac1}","name":"zhou-pai-master","nature":"UniApp_Vue","uri":{"$mid":1,"external":"file:///e%3A/HBuilderProject/zhou-pai-master","fsPath":"e:\HBuilderProject\","path":"/E:/HBuilderProject/","scheme":"file"}}}}))
2022-05-12 14:37:23.391 [INFO:] LSPath is : "E:/HBuilderX/plugins/hx-language-pack-zh-cn/extensions/ls.i18n.json"
2022-05-12 14:37:23.397 [INFO:] default LSPath is : "E:/HBuilderX/plugins/hx-language-pack-zh-cn/extensions/ls.i18n.json"
2022-05-12 14:37:23.744 [INFO:] Language Server Running on Port : 9191
2022-05-12 14:37:24.627 [INFO:] node "E:/HBuilderX/plugins/node/node.exe"
2022-05-12 14:37:24.627 [INFO:] args ("--max-old-space-size=2048", "E:/HBuilderX/plugins/uniapp-cli/bin/uniapp-cli.js")
2022-05-12 14:37:25.649 [CRITICAL:] QWindowsPipeWriter::write failed. (句柄无效。)
2022-05-12 14:37:27 [LanguageServerProcess] randomPort::::::19865
2022-05-12 14:37:59.694 [CRITICAL:] QWindowsPipeWriter::write failed. (句柄无效。)
2022-05-12 14:38:01.047 [CRITICAL:] QWindowsPipeWriter::write failed. (句柄无效。)
2022-05-12 14:38:04.719 [CRITICAL:] QWindowsPipeWriter::write failed. (句柄无效。)
2022-05-12 14:38:10.067 [CRITICAL:] QWindowsPipeWriter::write failed. (句柄无效。)
2022-05-12 14:38:11.795 [CRITICAL:] QWindowsPipeWriter::write failed. (句柄无效。)
2022-05-12 14:38:11 [LanguageServerProcess] zbc connect Mobile is ae99064=>ae99064
2022-05-12 14:38:11.798 [CRITICAL:] QWindowsPipeWriter::write failed. (句柄无效。)
2022-05-12 14:38:11.800 [CRITICAL:] QWindowsPipeWriter::write failed. (句柄无效。)
2022-05-12 14:38:11.826 [CRITICAL:] QWindowsPipeWriter::write failed. (句柄无效。)
2022-05-12 14:38:12.128 [CRITICAL:] QWindowsPipeWriter::write failed. (句柄无效。)
2022-05-12 14:38:14 [LanguageServerProcess] pushPackage come in 1
2022-05-12 14:38:14 [LanguageServerProcess] pushPackage come in 2--/sdcard/DCloud/temp/com.xht.weekshoot/apps/UNI5508A1A/Command-0/www/
2022-05-12 14:38:14.535 [CRITICAL:] QWindowsPipeWriter::write failed. (句柄无效。)
2022-05-12 14:38:20.453 [CRITICAL:] QWindowsPipeWriter::write failed. (句柄无效。)
2022-05-12 14:38:31.385 [CRITICAL:] QWindowsPipeWriter::write failed. (句柄无效。)
2022-05-12 14:38:39 [LanguageServerProcess] pushPackage come in 5
2022-05-12 14:38:41.487 [CRITICAL:] QWindowsPipeWriter::write failed. (句柄无效。)
2022-05-12 14:38:41.490 [WARNING:] QProcess: Destroyed while process ("E:\HBuilderX\plugins\jre\bin\java.exe") is still running.
2022-05-12 14:38:41.553 [WARNING:] uniapp compiled errorOccurred====== "进程已崩溃"
1***@qq.com (作者)
感谢群主大佬@海风 的帮助,已经解决问题。
打自定义基座的话targetVersion不能大于28,之前是用的29,所以一直提示失败。
希望能帮助到更多碰到这个问题的码友。
还有群号么?怎么解决啊?
-
反馈问题,怎么都不提供操作系统和HBuilderX版本信息。
标准基座是否正常? 自定义基座是如何制作的? 云打包?还是离线SDK?
运行的android设备是什么?换其它设备是否正常?
2023-03-01 17:32
-
回复 DCloud_HB_WDL: PC开发环境操作系统: WindowsPC开发环境
操作系统版本号: WIN7
HBuilderX类型: HBuilderX 版本号: 3.7.3.20230223
手机系统: Android手机
系统版本号: Android 12
手机厂商: iqoo 手机机型: neo3
页面类型: vue
版本: vue2
打包方式: 云端
项目创建方式: HBuilderX2023-03-01 19:58
1***@qq.com (作者)
好的,感谢!
2022-05-12 15:17
dashuai
793046085群已经满了,有出新群吗
2022-09-04 11:53
DCloud_HB_WDL
回复 dashuai: 群:1029243934
2022-09-05 10:21