DCloud_HB_WDL
DCloud_HB_WDL
  • 发布:2020-11-19 08:30
  • 更新:5 天前
  • 阅读:464

MacOSX Big Sur 11,HBuilderX和老HBuilder运行说明

分类:HBuilderX

Q1: MacOSX Big Sur 11,HBuilderX启动后,CPU使用率过高,电脑发热

部分有独显的MacBook,老版HBuilderX启动后,CPU使用率过高,电脑发热、发烫,风扇呼呼转。

解决方法:

  1. 更新到HBuilderX最新版本
  2. 或下载补丁文件ls.jar 替换下HBuilderX安装目录的ls.jar。替换目录:/Applications/HBuilderX.app/Contents/HBuilderX/plugins/ls

Q2: 老HBuilder在MacOSX Big sur 11上 启动就退出。

老HBuilder已停止维护数年,建议使用HBuilderX。下载地址:https://dcloud.io/hbuilderx.html

0 关注 分享

要回复文章请先登录注册

DCloud_HB_WDL

DCloud_HB_WDL (作者)

回复 2471166164@qq.com :
能否提供下运行日志,日志可以以附件形式上传。
5 天前
2471166164@qq.com

2471166164@qq.com

正式版3.0.5.20210107
mac OS Big Sur 11.1 内存16G

莫名其妙闪退,有时候都还没运行指示在保存代码。就闪退。
5 天前
920760786@qq.com

920760786@qq.com

回复 yooerZh :
一模一样,搞不明白哦,啥情况
2021-01-13 08:43
yooerZh

yooerZh

回复 yooerZh :
文中第二条错误的错误日志:

2021-01-12 15:45:27.880 [WARNING:] QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
2021-01-12 15:45:27.882 [WARNING:] QObject::~QObject: Timers cannot be stopped from another thread
2021-01-12 15:45:28 [LanguageServerProcess] tasklist result: PID TT STAT TIME COMMAND
2021-01-12 15:45:33.892 [INFO:] arguments:::::: "/Applications/HBuilderX.app/Contents/MacOS/HBuilderX"
2021-01-12 15:45:33.892 [INFO:] apr_initialize.
2021-01-12 15:45:33.892 [INFO:] apr_initialize end.
2021-01-12 15:45:33.892 [INFO:] !SESSION_START ====================================
2021-01-12 15:45:33.893 [INFO:] [main_start] : 276
2021-01-12 15:45:33.893 [INFO:] Print app info:
2021-01-12 15:45:33.893 [INFO:] pwd ==== "/Applications/HBuilderX.app/Contents/HBuilderX"
2021-01-12 15:45:33.893 [INFO:] AppDataPath ==== "/Users/zy/Library/Application Support/HBuilder X"
2021-01-12 15:45:33.893 [INFO:] QLibraryInfo::DataPath ==== "/Applications/HBuilderX.app/Contents"
2021-01-12 15:45:33.893 [INFO:] QLibraryInfo::TranslationsPath ==== "/Applications/HBuilderX.app/Contents/translations"
2021-01-12 15:45:33.894 [INFO:] QLibraryInfo::LibraryExecutablesPath ==== "/Applications/HBuilderX.app/Contents/libexec"
2021-01-12 15:45:33.894 [WARNING:] last session is crashed!
2021-01-12 15:45:33.894 [INFO:] install i18n.
2021-01-12 15:45:33.895 [INFO:] init services
2021-01-12 15:45:33.918 [INFO:] init theme.
2021-01-12 15:45:33.927 [INFO:] init workbenchwindow.
2021-01-12 15:45:33.958 [WARNING:] Type conversion already registered from type QPair<QByteArray,QByteArray> to type QtMetaTypePrivate::QPairVariantInterfaceImpl
2021-01-12 15:45:34.085 [WARNING:] QWidget::insertAction: Attempt to insert null action
2021-01-12 15:45:34.086 [WARNING:] QObject::disconnect: Unexpected null parameter
2021-01-12 15:45:34.086 [WARNING:] QObject::connect: invalid null parameter
2021-01-12 15:45:34.169 [WARNING:] [Expression] "Unsupport Expr : screenHeight"
2021-01-12 15:45:34.521 [INFO:] restore uistate.
2021-01-12 15:45:34.794 [WARNING:] QString::arg: 1 argument(s) missing in 无法解析%2中的符号“%2”:%3
2021-01-12 15:45:34.794 [WARNING:] QString::arg: 1 argument(s) missing in 无法解析%2中的符号“%2”:%3
2021-01-12 15:45:34.795 [WARNING:] QString::arg: 1 argument(s) missing in 无法解析%2中的符号“%2”:%3
2021-01-12 15:45:36.546 [INFO:] open workbenchwindow.
2021-01-12 15:45:36.546 [INFO:] WorkbenchPage::onPreWindowOpen
2021-01-12 15:45:36.682 [INFO:] enter main loop.
2021-01-12 15:45:36.749 [INFO:] Start Elapsed Time : "3132"
2021-01-12 15:45:36.750 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/about/package.json"
2021-01-12 15:45:36.751 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/akamud.vscode-theme-onedark-2.1.0/package.json"
2021-01-12 15:45:36.751 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/compile-less/package.json"
2021-01-12 15:45:36.905 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/compile-node-sass/package.json"
2021-01-12 15:45:36.936 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/css/package.json"
2021-01-12 15:45:36.937 [WARNING:] [PluginManager] The plugin [ "css" ] contribute snippet file is invalid.
2021-01-12 15:45:36.938 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/css-language-features/package.json"
2021-01-12 15:45:36.938 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/etc/package.json"
2021-01-12 15:45:36.938 [WARNING:] plugin [ "etc" ] package.json is not exist!!!
2021-01-12 15:45:36.939 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/format/package.json"
2021-01-12 15:45:36.997 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/html/package.json"
2021-01-12 15:45:37.001 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/javascript/package.json"
2021-01-12 15:45:37.004 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/jre/package.json"
2021-01-12 15:45:37.005 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/jshint/package.json"
2021-01-12 15:45:37.006 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/launcher/package.json"
2021-01-12 15:45:37.007 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/ls/package.json"
2021-01-12 15:45:37.007 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/package.json"
2021-01-12 15:45:37.008 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node_modules/package.json"
2021-01-12 15:45:37.009 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/nodeserver/package.json"
2021-01-12 15:45:37.009 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/npm/package.json"
2021-01-12 15:45:37.010 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/plugin-manager/package.json"
2021-01-12 15:45:37.010 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/pm/package.json"
2021-01-12 15:45:37.011 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/snippet/package.json"
2021-01-12 15:45:37.011 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/templates/package.json"
2021-01-12 15:45:37.012 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/theme-default/package.json"
2021-01-12 15:45:37.012 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/theme-icons-default/package.json"
2021-01-12 15:45:37.013 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/theme-icons-default-colorful/package.json"
2021-01-12 15:45:37.013 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/theme-seti/package.json"
2021-01-12 15:45:37.013 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/theme-vsode/package.json"
2021-01-12 15:45:37.014 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/package.json"
2021-01-12 15:45:37.014 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/unicloud/package.json"
2021-01-12 15:45:37.015 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/weapp-tools/package.json"
2021-01-12 15:45:37.015 [INFO:] [PluginHost] start plugin host ...
2021-01-12 15:45:37.015 [WARNING:] QObject::moveToThread: Current thread (0x6000021a1b60) is not the object's thread (0x600002198420).
Cannot move to target thread (0x6000021a1c70)

2021-01-12 15:45:37.016 [WARNING:] You might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
2021-01-12 15:45:37.299 [INFO:] [PluginHost] Plugin host started successed!
2021-01-12 15:45:37.300 [INFO:] [PluginHost] 正在激活插件unicloud...
2021-01-12 15:45:38.565 [INFO:] [PluginHost] 插件unicloud激活成功。
2021-01-12 15:45:38.565 [INFO:] =========================================cost 1816
2021-01-12 15:45:38.565 [WARNING:] QObject: Cannot create children for a parent that is in a different thread.
(Parent is SingleApplication(0x7ffee073ca70), parent's thread is QThread(0x600002198420), current thread is QThread(0x6000021a1b60)
2021-01-12 15:45:38.566 [INFO:] find Jre Path: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/jre/Contents/Home/bin/java"
2021-01-12 15:45:38.566 [INFO:] find Node.js Path: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/node"
2021-01-12 15:45:38.566 [INFO:] [Update] do check update...
2021-01-12 15:45:38.772 [INFO:] [LANGUAGESERVER] begin start language server...
2021-01-12 15:45:38.784 [WARNING:] QObject::setParent: Cannot set parent, new parent is in a different thread
2021-01-12 15:45:39.569 [INFO:] indexFileURL: "http://update.dcloud.net.cn/hbuilderx/alpha/macosx/update/index.json?tmp=56739569"
2021-01-12 15:45:39.572 [INFO:] Language Server Running on Port : 9191

2021-01-12 15:45:39.606 [INFO:] [Update] No update.
true
一月 12, 2021 3:45:43 下午 com.pandora.launcher.core.iphone.jna.LibraryFinder getCFLibrary
严重: Could not find the CoreFoundation Library!
一月 12, 2021 3:45:43 下午 com.pandora.launcher.core.iphone.jna.LibraryFinder getCFLibrary
严重: Could not find the CoreFoundation Library!
2021-01-12 15:45:43 [LanguageServerProcess] randomPort::::::28099
2021-01-12 15:45:43 [LanguageServerProcess] Warning: NLS missing message: MetadataLoader_Error_Loading_Metadata in: com.aptana.editor.common.contentassist.messages
2021-01-12 15:45:43 [LanguageServerProcess] Warning: NLS missing message: MetadataObjectsReader_UnableToLocateDocumentationXML in: com.aptana.editor.common.contentassist.messages
2021-01-12 15:45:43 [LanguageServerProcess] Warning: NLS missing message: MetadataObjectsReader_IOErrorOccurredProcessingDocumentationXML in: com.aptana.editor.common.contentassist.messages
2021-01-12 15:45:43 [LanguageServerProcess] Warning: NLS missing message: MetadataObjectsReader_IOErrorOccurredProcessingDocumentationBinary in: com.aptana.editor.common.contentassist.messages
2021-01-12 15:45:43 [LanguageServerProcess] Warning: NLS missing message: MetadataReader_ErrorLoadingDocumentationXML in: com.aptana.editor.common.contentassist.messages
2021-01-12 15:45:43 [LanguageServerProcess] Warning: NLS missing message: MetadataReader_IOErrorProcessingDocumentationXML in: com.aptana.editor.common.contentassist.messages
2021-01-12 15:45:43 [LanguageServerProcess] Warning: NLS missing message: MetadataReader_SAXParserConfiguredIncorrectly in: com.aptana.editor.common.contentassist.messages
2021-01-12 15:45:43 [LanguageServerProcess] Warning: NLS missing message: MetadataReader_ErrorParsingDocumentationXML in: com.aptana.editor.common.contentassist.messages
2021-01-12 15:45:43.573 [INFO:] Local Mac: "AC:DE:48:00:11:22,B2:9C:4A:C7:D2:1E,90:9C:4A:C7:D2:1E,DA:E2:4E:62:D2:B1,DA:E2:4E:62:D2:B1,EE:48:09:D9:D0:01,EE:48:09:D9:D0:00,EE:48:09:D9:D0:04,EE:48:09:D9:D0:05,EE:48:09:D9:D0:04,,,,"
2021-01-12 15:45:43.893 [WARNING:] server json is error: "illegal value"
2021-01-12 15:45:45.321 [INFO:] ===>loadMetadatas,cost: 5748
2021-01-12 15:45:45.488 [WARNING:] server json is error: "illegal value"
2021-01-12 15:47
yooerZh

yooerZh

系统: macOS Big Sur 11.1
配置:MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)
CPU: 2 GHz 四核Intel Core i5
内存:16 GB 3733 MHz LPDDR4X

HBuilderx版本:
v3.0.5 , 正式版,app开发版

使用 HBuilderx 编写微信小程序
1. 在运行到小程序模拟器时,编辑器偶尔会直接闪退,没有任何提示信息。
2. 在修改代码后,触发编辑器的差量编译,大概率会直接闪退,没有任何提示信息。
3. 静置编辑器一段时间后,编辑器卡死,鼠标hover显示鼠标加载中样式,只能强制关闭。

本人QQ:501798975
2021-01-12 15:36
DCloud_HB_WDL

DCloud_HB_WDL (作者)

回复 280224091@qq.com :
搜索一下: mac 禁用独显
2021-01-12 14:49
280224091@qq.com

280224091@qq.com

回复 DCloud_HB_WDL :
独显Air,11.1系统,HX2.9.8,依旧风扇呼呼呼。。。
2021-01-12 14:39
920760786@qq.com

920760786@qq.com

回复 DCloud_HB_WDL :
是不是内存不够崩掉了
2021-01-12 11:41
920760786@qq.com

920760786@qq.com

回复 DCloud_HB_WDL :
我没有下载其他的版本,用uniapp就是为了做小程序,所以现在只能反应小程序是这样的,反正你要运行日志,我也可以把hbuilderX的日志发给你
2021-01-12 11:38
920760786@qq.com

920760786@qq.com

回复 280224091@qq.com :
感觉在针对mac
2021-01-12 11:36