egret没找到Zlib库需要咋个设置?
运行起来后,提示:
Uncaught TypeError: Zlib.RawInflate is not a constructor at (d:\e\game\sgGame\libs\modules\fairygui\fairygui.js:14612:28)
找不到Zlib库,不知道需要咋个操作一下
Uncaught TypeError: Zlib.RawInflate is not a constructor at (d:\e\game\sgGame\libs\modules\fairygui\fairygui.js:14612:28)
找不到Zlib库,不知道需要咋个操作一下
没有找到相关结果
已邀请:
3 个回复
denzhe22
赞同来自:
谷主
赞同来自:
jinqi166 - 80后
赞同来自:
因为rawinflate这个库在小游戏平台有问题,所以直接不使用它。请使用最新编辑器,发布时勾选“不压缩描述文件”就可以了。rawinflate这个库就不会再引用到(也不需要打包了)。
请谷主更新下这个文档:把“小游戏平台有问题”改为“小游戏平台报错Cannot read property 'Zlib' of undefined”这样我们通过关键字也好查找问题