插件是自己开发的,手动安装正常。已经发布到市场,在“使用HBuilderX导入插件”时总是报错。
- 发布:2021-04-06 13:58
- 更新:2021-04-06 13:58
- 阅读:553
产品分类: HbuilderX
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: Windows 10
HBuilderX版本号: 3.1.7
示例代码:
操作步骤:
安装我自己开发的插件https://ext.dcloud.net.cn/plugin?id=4642
安装我自己开发的插件https://ext.dcloud.net.cn/plugin?id=4642
预期结果:
正常安装
正常安装
实际结果:
问题提示:下载失败,请检查网络是否正常。
经过同事共同测试,使用3.1.5的老版本能否安装成功。
问题提示:下载失败,请检查网络是否正常。
经过同事共同测试,使用3.1.5的老版本能否安装成功。
bug描述:
安装插件时失败:
关联日志信息如下:
2021-04-06 13:32:07.014 [INFO:] indexFileURL: "http://update.liuyingyong.cn/hbuilderx/alpha/win32/update/index.json?tmp=48727014"
2021-04-06 13:32:07 [LanguageServerProcess] com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified.
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:259)
at com.pandora.launcher.core.iphone.jna.LibraryFinder.loadPath(LibraryFinder.java:50)
at com.pandora.launcher.core.iphone.jna.LibraryFinder.<clinit>(LibraryFinder.java:44)
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:108)
at com.pandora.launcher.core.listener.DeviceStartupListener.earlyStartup(DeviceStartupListener.java:30)
at com.pandora.language.LanguageServer.initLauncher(LanguageServer.java:149)
at com.pandora.language.LanguageServer.init(LanguageServer.java:137)
at com.pandora.language.LanguageServer$8.run(LanguageServer.java:1722)
at java.lang.Thread.run(Unknown Source)
....
2021-04-06 13:49:10.094 [INFO:] onReceivedMessage "E:\\Dev\\HBuilderX\\HBuilderX.exe|hbuilderx://ext/download?plugin=%7B%22id%22%3A%22pages-tool%22%2C%22name%22%3A%22Pages-Tool%22%2C%22version%22%3A%221.0.12%22%2C%22category_name%22%3A%22HBuilderX%22%2C%22category_code%22%3A%22extension-for-hbuilderx%22%2C%22category_id%22%3A11%2C%22ide_version%22%3A%222.7.0%22%2C%22download_url%22%3A%22https%3A%5C%2F%5C%2Fresource-aliyun.dcloud.net.cn%5C%2Fmarketplace%5C%2Fb24ab250-9623-11eb-95b2-654371b14a46%5C%2F1.0.12%5C%2Fplugin.zip%3Fv%3D1617683089%22%2C%22size%22%3A%2210.5KB%22%2C%22description%22%3A%22%5Cu5b9e%5Cu73b0pages.json%5Cu5185%5Cu5bb9%5Cu7684%5Cu6a21%5Cu5757%5Cu5316%5Cu7ba1%5Cu7406%5Cu3002%22%2C%22platforms%22%3A%5B%5D%2C%22is_uniModules%22%3A0%7D"
2021-04-06 13:49:11.775 [WARNING:] index.json don't contain plugin "pages-tool"
2021-04-06 13:49:11.777 [WARNING:] QLayout: Attempting to add QLayout "" to MsgItemWidget "MsgItem", which already has a layout
2021-04-06 13:49:11.779 [INFO:] QObject::destroyed state 4
0 个回复