c***@126.com
c***@126.com
  • 发布:2022-09-19 03:39
  • 更新:2022-09-20 15:44
  • 阅读:156

【报Bug】HBuilderX3.6.3安卓无法打包调试

分类:HBuilderX

产品分类: HbuilderX

PC开发环境操作系统: Windows

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

HBuilderX类型: 正式

HBuilderX版本号: 3.6.3

示例代码:

HBuilderX.3.6.3.20220917: 编译完无反应

[广告] 03:29:47.257 DCloud 2022新春招聘开启,欢迎前端、Android、C++/QT来投简历! 详情点击  
03:29:47.279 项目 'empty_v2' 开始编译...  
03:29:48.256 3.6.3  
03:29:48.256 请注意运行模式下,因日志输出、sourcemap以及未压缩源码等原因,性能和包体积,均不及发行模式。  
03:29:48.258 正在编译中...  
03:29:51.025 项目 'empty_v2' 编译成功。

HBuilderX.3.5.3.20220729:

....  
....  
03:26:56.553 项目 'empty_v2' 编译成功。  
03:26:56.722 正在建立手机连接...    // 3.5.3明显正常  
....  
....

操作步骤:

分别下载两个HB版本,放在两个目录
HBuilderX.3.6.3.20220917
HBuilderX.3.5.3.20220729

  1. 创建一个空白的默认模板项目
  2. 两个HB分别给他们安装安卓调试插件,vue插件等。等待下载完重新运行下。
  3. 手机USB插入电脑,分别依次尝试【运行到Android基座】,HBuilderX.3.5.3.20220729 一切正常。HBuilderX.3.6.3.20220917无法调试无法启动,APK都没安装进去。。
  4. 尝试过真机,as官方模拟器,第三方模拟器。修改ADB与端口等操作。均无任何反应。。

预期结果:

.

实际结果:

.

bug描述:


2022-09-19 03:29:37.060 [INFO:] [PluginHost] 插件hbuilderx-language-services激活成功。  
2022-09-19 03:29:37.083 [INFO:] Plugin  "hbuilderx-language-services"  has been successfully installed  
2022-09-19 03:29:37.083 [INFO:] endWatcher: pluginName: "hbuilderx-language-services"  path: "D:/dev-soft/HBuilderX.3.6.3.20220917/HBuilderX/plugins/hbuilderx-language-services"  thread: 13460  
2022-09-19 03:29:37.084 [INFO:] QObject::destroyed state 0  
2022-09-19 03:29:37.084 [INFO:] QObject::destroyed state 0  
2022-09-19 03:29:38.054 [WARNING:] [PluginHost] Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding  

2022-09-19 03:29:42.222 [WARNING:] QLayout: Cannot add a null widget to QVBoxLayout/  
2022-09-19 03:29:42.223 [WARNING:] QLayout: Attempting to add QLayout "" to ExtFormDialog "", which already has a layout  
2022-09-19 03:29:42.223 [WARNING:] QLayout: Attempting to add QLayout "" to ExtFormDialog "", which already has a layout  
2022-09-19 03:29:47.251 [WARNING:] [PluginHost] refreshListData: QJsonValue(object, QJsonObject({"checkedBaseIndex":1,"code":1,"device":{"name":"95220987","platform":"android","runState":0,"runStateStr":"","udid":"95220987","version":"10"},"userData":{"checkedBaseIndex":1,"cli":false,"platform":"android","runningDevices":[],"workspaceFolder":{"id":"{2a5c2cd1-054d-437d-ad9d-3fcc85f1dc9d}","name":"empty_v2","nature":"UniApp_Vue","uri":{"$mid":1,"external":"file:///e%3A/Users/Documents/HBuilderProjects/empty_v2","fsPath":"e:\\Users\\Documents\\HBuilderProjects\\empty_v2","path":"/E:/Users/Documents/HBuilderProjects/empty_v2","scheme":"file"}}}}))  
2022-09-19 03:29:47.620 [INFO:] node "D:/dev-soft/HBuilderX.3.6.3.20220917/HBuilderX/plugins/node/node.exe"  
2022-09-19 03:29:47.621 [INFO:] args ("--max-old-space-size=2048", "D:/dev-soft/HBuilderX.3.6.3.20220917/HBuilderX/plugins/uniapp-cli/bin/uniapp-cli.js")  
2022-09-19 03:29:51.124 [WARNING:] [PluginHost] Error Code (PluginHost): -32603  
2022-09-19 03:29:51.124 [WARNING:] [PluginHost] Error Stack (PluginHost):  
2022-09-19 03:29:51.125 [WARNING:] [PluginHost] Request plugin/invokeApi failed with message: TypeError: mErrorStr.includes is not a function  
2022-09-19 03:29:51.125 [WARNING:] [PluginHost]     at AndroidLauncher.createPortAgent (D:\dev-soft\HBuilderX.3.6.3.20220917\HBuilderX\plugins\launcher\out\launchers\AndroidLauncher.js:658:27)  
2022-09-19 03:29:51.125 [WARNING:] [PluginHost]     at processTicksAndRejections (internal/process/task_queues.js:97:5)  
2022-09-19 03:31:22.844 [WARNING:] Request Timeout( 300000 )!!! when: "launcher/runDevice"  
2022-09-19 03:39 负责人:无 分享
已邀请:
DCloud_HB_WDL

DCloud_HB_WDL

如果方便,发下QQ,我们联系您排查下问题

  • 9***@qq.com

    相同问题, QQ:1158197366

    2022-09-19 11:30

c***@126.com

c***@126.com (作者)

最新的 HBuilderX.3.6.3.20220919-alpha 已正常。看来修复了。。建议把正式版也更新下。

要回复问题请先登录注册