无
![3***@qq.com](http://img-cdn-tc.dcloud.net.cn/uploads/avatar/000/27/05/40_avatar_mid.jpg?v=1646789823)
- 发布:2022-03-08 21:22
- 更新:2022-03-15 11:31
- 阅读:693
产品分类: HTML5+
HBuilderX版本号: 3.3.11
手机系统: iOS
手机系统版本号: iOS 14
手机厂商: 苹果
手机机型: ipad air 2
打包方式: 云端
操作步骤:
预期结果:
无
无
实际结果:
无
无
bug描述:
一个老的H5+做的项目,之前一直是好好的,现在用最新hbuilderX真机运行一直卡在同步文件中,我看论坛也有人反馈,然后我尝试直接打开APP发现能打开,但是修改文件保存后也不能热更新。
日志如下:
同步文件卡住:
2022-03-08 21:10:26 [LanguageServerProcess] java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at java.io.DataOutputStream.write(Unknown Source)
at java.io.DataOutputStream.writeUTF(Unknown Source)
at java.io.DataOutputStream.writeUTF(Unknown Source)
at com.pandora.console.core.thread.ConsoleMessageThread.run(ConsoleMessageThread.java:70)
2022-03-08 21:10:26.810 [WARNING:] QProcess: Destroyed while process ("C:\ruanjian\HBuilderX.2.4.2.20191115.full\HBuilderX\plugins\jre\bin\java.exe") is still running.
2022-03-08 21:10:36 [LanguageServerProcess] macos version:6.2
2022-03-08 21:10:47 [LanguageServerProcess] source dir:C:\Users\39340\AppData\Roaming\HBuilder X\run_tmp/
2022-03-08 21:11:01.025 [WARNING:] Request Timeout( 30000 )!!! when: "launcher/runDevice"
2022-03-08 21:11:01.026 [INFO:] RunDeviceThread::run()================3
保存后热更新卡住:
2022-03-08 21:04:55.590 [WARNING:] QLayout: Attempting to add QLayout "" to MsgItemWidget "MsgItem", which already has a layout
2022-03-08 21:08:29.046 [WARNING:] QObject::setParent: Cannot set parent, new parent is in a different thread
2022-03-08 21:08:30.071 [WARNING:] Request Timeout( 200 )!!! when: "project/filechanged"
4 个回复
3***@qq.com (作者)
*****补充一段日志
2022-03-09 00:48:53 [LanguageServerProcess] com.sun.jna.platform.win32.Win32Exception: 系统找不到指定的文件。
at com.sun.jna.platform.win32.Advapi32Util.registryGetStringValue(Advapi32Util.java:552)
at com.pandora.launcher.core.iphone.jna.LibraryFinder.findCoreLibrary(LibraryFinder.java:345)
at com.pandora.launcher.core.iphone.jna.LibraryFinder.isITunesInstalled(LibraryFinder.java:328)
at com.pandora.launcher.core.iphone.jna.LibraryFinder.getPluginDllPath(LibraryFinder.java:276)
at com.pandora.launcher.core.iphone.jna.LibraryFinder.getPathByITunesVersionAndSystemVersion(LibraryFinder.java:266)
at com.pandora.launcher.core.iphone.jna.LibraryFinder.getWindowsLibrary(LibraryFinder.java:250)
at com.pandora.launcher.core.iphone.jna.LibraryFinder.findMobileLibrary(LibraryFinder.java:226)
at com.pandora.launcher.core.iphone.jna.LibraryFinder.foundMobileLibrary(LibraryFinder.java:176)
at com.pandora.launcher.core.iphone.jna.LibraryFinder.getMDLibrary(LibraryFinder.java:124)
at com.pandora.launcher.core.iphone.jna.md.LibraryInstance.getMDLibrary(LibraryInstance.java:15)
at com.pandora.launcher.core.iphone.jna.idevice.win.WinDeviceLibrary.<clinit>(WinDeviceLibrary.java:69)
at com.pandora.launcher.core.iphone.jna.idevice.DeviceLibraryRegistry.getDeviceLibrary(DeviceLibraryRegistry.java:15)
at com.pandora.launcher.core.iphone.IPhoneLauncher.<init>(IPhoneLauncher.java:114)
at com.pandora.launcher.core.iphone.IOS13HigherLauncher.<init>(IOS13HigherLauncher.java:40)
at com.pandora.launcher.core.iphone.OS11HigherLauncher.<init>(OS11HigherLauncher.java:60)
at com.pandora.launcher.core.listener.DeviceStartupListener.earlyStartup(DeviceStartupListener.java:33)
at com.pandora.language.LanguageServer.initLauncher(LanguageServer.java:163)
at com.pandora.language.LanguageServer.init(LanguageServer.java:151)
at com.pandora.language.LanguageServer$9.run(LanguageServer.java:2037)
at java.lang.Thread.run(Unknown Source)
三月 09, 2022 12:48:53 上午 com.pandora.launcher.core.iphone.jna.LibraryFinder getMDLibrary
严重: Could not find the MobileDevice Library!
2022-03-09 00:48:53 [LanguageServerProcess] randomPort::::::17002
2022-03-09 00:48:54.583 [INFO:] ===>loadMetadatas,cost: 3802
2022-03-09 00:54:56 [LanguageServerProcess] macos version:6.2
2022-03-09 00:55:07 [LanguageServerProcess] source dir:C:\Users\39340\AppData\Roaming\HBuilder X\run_tmp/
2022-03-09 00:55:19.496 [WARNING:] Request Timeout( 30000 )!!! when: "launcher/runDevice"
2022-03-09 00:55:19.498 [INFO:] RunDeviceThread::run()================3
3***@qq.com (作者)
手动刷新~
DCloud_HB_WDL
新建一个uni-app默认项目,运行到手机,看下是否正常。
3***@qq.com (作者)
我分别新建了uniapp空白、uniapp示例、html5+带mui的,都是可以同步文件成功的,目前只有我这个项目不行,我观察日志,2022-03-09 10:34:53.713 [WARNING:] Request Timeout( 30000 )!!! when: "launcher/runDevice" 出现这个就不行了,我这个项目之前还是好的,特点就是纯HTML5而且是个不联网的本地项目体量大,大概几百兆。。会不会是超时时间太短?帮忙分析下 谢谢
2022-03-09 10:41
DCloud_HB_WDL
回复 3***@qq.com: 很有可能跟项目大小有关。优化项目大小试试。已反馈给相关人员。
2022-03-09 10:44
3***@qq.com (作者)
回复 DCloud_HB_WDL: 好嘞 等优化谢谢
2022-03-09 10:48
故里And长安
请问解决了吗
3***@qq.com (作者)
这个帖子的一楼有个zip 亲测好用 https://ask.dcloud.net.cn/question/142999
2022-08-21 00:16