Hbuilder x在uni-app中频繁闪退
Hbuilder x在uni-app中频繁闪退
操作步骤:
- 一般都是在编辑全局的uni.scss 样式的时候。保存。 经常删除
- 还是在编辑窗口打开多个文件的时候, 关闭标签的时候闪退。
预期结果:
- 希望稳定不要闪退
实际结果:
- 希望稳定不要闪退
bug描述:
hbuilderx 开发小程序的时候。 频繁闪退。
- 一般都是在编辑全局的uni.scss 样式的时候。保存。 经常删除
- 还是在编辑窗口打开多个文件的时候, 关闭标签的时候闪退。
信息类别 | 信息内容 |
---|---|
产品分类 | uniapp/App |
PC开发环境操作系统 | Mac |
PC开发环境操作系统版本号 | mac 15.4.1 |
HBuilderX类型 | 正式 |
HBuilderX版本号 | 4.65 |
手机系统 | Android |
手机系统版本号 | Android 15 |
手机厂商 | 华为 |
手机机型 | 其他 |
页面类型 | vue |
vue版本 | vue3 |
打包方式 | 云端 |
项目创建方式 | HBuilderX |
更多关于Hbuilder x在uni-app中频繁闪退的实战教程也可以访问 https://www.itying.com/category-93-b0.html
你好,可以在菜单栏帮助->查看运行日志即可定位.log位置,在finder打开,hx关闭打开的.log文件,如果再次闪退可以发下日志;也可以闪退后打开hx,菜单栏帮助->bug反馈,填写相关信息后确保APP运行日志是勾选的,提交即可
更多关于Hbuilder x在uni-app中频繁闪退的实战教程也可以访问 https://www.itying.com/category-93-b0.html
啥时候能修好啊
2025-05-22 11:11:22.721 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/backup/root/hbuilder.root” ) exits?
2025-05-22 11:11:22.727 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/.data” ) exits?
2025-05-22 11:11:22.727 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/.data” ) exits return true
2025-05-22 11:11:50.541 [INFO:] Upgrade::isFallbackedVersion ?
2025-05-22 11:11:50.541 [INFO:] (checkupdate comparepluginversion) “hbuilder.root” in “/Applications/HBuilderX.app/Contents/HBuilderX/update/backup/root/hbuilder.root”
2025-05-22 11:11:50.542 [INFO:] (checkupdate comparepluginversion about) compare ( “4.66.2025051912” ) about version( 4.65.2025051206 ) in about package.json
2025-05-22 11:11:50.542 [INFO:] Upgrade::isFallbackedVersion return false
2025-05-22 11:11:50.542 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/backup/root/hbuilder.root” ) exits?
2025-05-22 11:11:50.542 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/.data” ) exits?
2025-05-22 11:11:50.542 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/.data” ) exits return true
2025-05-22 11:12:19.209 [INFO:] Upgrade::isFallbackedVersion ?
2025-05-22 11:12:19.209 [INFO:] (checkupdate comparepluginversion) “hbuilder.root” in “/Applications/HBuilderX.app/Contents/HBuilderX/update/backup/root/hbuilder.root”
2025-05-22 11:12:19.210 [INFO:] (checkupdate comparepluginversion about) compare ( “4.66.2025051912” ) about version( 4.65.2025051206 ) in about package.json
2025-05-22 11:12:19.210 [INFO:] Upgrade::isFallbackedVersion return false
2025-05-22 11:12:19.210 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/backup/root/hbuilder.root” ) exits?
2025-05-22 11:12:19.210 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/.data” ) exits?
2025-05-22 11:12:19.210 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/.data” ) exits return true
2025-05-22 11:12:21.965 [WARNING:] QLayout: Cannot add a null widget to QVBoxLayout/
2025-05-22 11:12:22.221 [WARNING:] [PluginHost] Attr: “focus” for tag: “q-combox” is not writable.
2025-05-22 11:12:22.319 [WARNING:] [PluginHost] Attr: “focus” for tag: “q-combox” is not writable.
2025-05-22 11:12:23.922 [WARNING:] [PluginHost] Attr: “focus” for tag: “q-combox” is not writable.
2025-05-22 11:12:56.292 [WARNING:] [PluginHost] fire_provideHover syncDoc does not exist {
document: {
eol: ‘\n’,
fileName: ‘’,
isClosed: false,
isDirty: true,
languageId: ‘markdown’,
lineCount: 28,
metatype: ‘TextDocument’,
uri: u {
scheme: ‘file’,
authority: ‘’,
path: ‘/’,
query: ‘’,
fragment: ‘’
},
versionId: 5
},
metatype: ‘ProvideHoverRequest’,
position: { character: 113, line: 21, metatype: ‘Position’ }
}
2025-05-22 11:12:58.570 [WARNING:] QLayout: Attempting to add QLayout “” to MsgItemWidget “MsgItem”, which already has a layout
2025-05-22 11:12:58.601 [INFO:] QEvent(WindowActivate, 0x30a69d268)
这是闪退之后。按照你的方法查看的日志。
2025-06-02 22:38:14.880 [INFO:] QEvent(WindowDeactivate, 0x16ae89a58)
2025-06-02 22:38:21.947 [INFO:] QEvent(WindowActivate, 0x16ae89a68)
2025-06-02 22:38:53.638 [INFO:] QEvent(WindowDeactivate, 0x16ae89a58)
2025-06-02 22:39:07.024 [INFO:] QEvent(WindowActivate, 0x16ae89a68)
2025-06-02 22:39:08.546 [WARNING:] QObject::setParent: Cannot set parent, new parent is in a different thread
2025-06-02 22:39:08.900 [INFO:] QEvent(WindowDeactivate, 0x16ae87e98)
2025-06-02 22:39:10.817 [INFO:] QEvent(WindowActivate, 0x16ae85208)
2025-06-02 22:39:11.194 [INFO:] QEvent(WindowDeactivate, 0x16ae87e98)
2025-06-02 22:39:12.166 [INFO:] QEvent(WindowActivate, 0x16ae85208)
2025-06-02 22:39:17.704 [INFO:] Upgrade::isFallbackedVersion ?
2025-06-02 22:39:17.704 [INFO:] (checkupdate comparepluginversion) “hbuilder.root” in “/Applications/HBuilderX.app/Contents/HBuilderX/update/backup/root/hbuilder.root”
2025-06-02 22:39:17.705 [INFO:] (checkupdate comparepluginversion about) compare ( “4.66.2025051912” ) about version( 4.65.2025051206 ) in about package.json
2025-06-02 22:39:17.705 [INFO:] Upgrade::isFallbackedVersion return false
2025-06-02 22:39:17.705 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/backup/root/hbuilder.root” ) exits?
2025-06-02 22:39:17.705 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/.data” ) exits?
2025-06-02 22:39:17.705 [INFO:] Upgrade::canFallback::check( “/Applications/HBuilderX.app/Contents/HBuilderX/update/.data” ) exits return true
2025-06-02 22:39:27.145 [INFO:] QEvent(WindowDeactivate, 0x16ae89a58)
2025-06-02 22:39:39.100 [INFO:] QEvent(WindowActivate, 0x16ae89a68)
2025-06-02 22:40:16.217 [INFO:] QEvent(WindowDeactivate, 0x16ae89a58)
2025-06-02 22:40:21.710 [WARNING:] [PluginHost] TypeError: Cannot read properties of undefined (reading ‘module’)
at Proxy.render (eval at c (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/plugin-manager/out.js:1:410528), <anonymous>:415:58)
at Bt (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/plugin-manager/out.js:1:216732)
at b.fn (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/plugin-manager/out.js:1:251780)
at b.run (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/plugin-manager/out.js:1:202922)
at N.e.update (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/plugin-manager/out.js:1:252546)
at nt (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/plugin-manager/out.js:1:212469)
at xt (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/plugin-manager/out.js:1:214058)
2025-06-02 22:40:21.722 [INFO:] QEvent(WindowActivate, 0x16ae87ec8)
2025-06-02 22:40:21.737 [WARNING:] [PluginHost] -1
2025-06-02 22:40:25.422 [WARNING:] QObject::setParent: Cannot set parent, new parent is in a different thread
2025-06-02 22:40:52.920 [INFO:] QEvent(WindowDeactivate, 0x16ae89ba8)
2025-06-02 22:41:00.348 [INFO:] QEvent(WindowActivate, 0x16ae89a88)
2025-06-02 22:41:40.626 [WARNING:] QMetaObject::connectSlotsByName: No matching signal for on_searchRefresh_clicked()
2025-06-02 22:41:42.922 [WARNING:] [Expression] “expected ‘value expr’ but java” ;The evaluate expr: “editorLangId == java && resourceExtname == .java”
2025-06-02 22:41:42.922 [WARNING:] [Expression] “expected ‘value expr’ but java” ;The evaluate expr: “editorLangId == java && resourceExtname == .java”
2025-06-02 22:41:59.917 [INFO:] QEvent(WindowDeactivate, 0x16ae89ba8)
2025-06-02 22:42:26.979 [INFO:] QEvent(WindowActivate, 0x16ae89a88)
2025-06-02 22:42:29.256 [INFO:] QEvent(WindowDeactivate, 0x16ae89ba8)
2025-06-02 22:42:33.456 [INFO:] QEvent(WindowActivate, 0x16ae89a88)
2025-06-02 22:42:37.954 [INFO:] QEvent(WindowDeactivate, 0x16ae89ba8)
2025-06-02 22:42:50.657 [INFO:] QEvent(WindowActivate, 0x16ae89a88)
2025-06-02 22:42:50.797 [INFO:] (createbottomview)
2025-06-02 22:42:50.797 [INFO:] (createbottomview) fbottomviews createcontents
2025-06-02 22:42:50.799 [INFO:] (createbottomview) fbottomviews setcustomtabsclose false
2025-06-02 22:42:50.799 [INFO:] (createbottomview) fbottomviews tab settabsclosable true
2025-06-02 22:42:50.799 [INFO:] (createbottomview) fbottomviews widget setminimumheight
2025-06-02 22:42:50.799 [INFO:] (createbottomview) fbottomviews tab setobjectname
2025-06-02 22:42:50.799 [INFO:] (createbottomview) createbottomtoolview
2025-06-02 22:42:50.802 [INFO:] (createbottomview) tab setusesscrollbutton true
2025-06-02 22:42:50.802 [INFO:] (createbottomview) tab setcornerwidget
2025-06-02 22:42:50.950 [INFO:] DevTools Debugging port: 9502
2025-06-02 22:42:51.117 [INFO:] (createbottomview tabw::currentchanged) getcurrentbottomconsoleview
2025-06-02 22:42:51.117 [INFO:] (createbottomview sashview::viewadded) bottomviewcurrentchanged
2025-06-02 22:42:51.178 [INFO:] QEvent(WindowDeactivate, 0x16ae87748)
2025-06-02 22:42:51.203 [INFO:] QEvent(WindowActivate, 0x16ae87158)
2025-06-02 22:42:51.358 [WARNING:] Remote debugging server started successfully. Try pointing a Chromium-based browser to http://127.0.0.1:9502
2025-06-02 22:42:51.606 [WARNING:] Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. See: https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently
2025-06-02 22:42:51.607 [WARNING:] Color: is invalid using fallback #000000