关于AssetsManagerEx 热更新后的lua文件无法识别的问题,提示:cannot load incompatible bytecode
cc.AssetsManagerEx:create(“res/project.manifest”, cc.FileUtils:getInstance():getWritablePath())
因为更新了language文件,同一个产品的本地APP更新后皆可正常更新使用,唯独各个应用商店的APP加载完成后,无法识别,并报出错误。
详细错误提示如下:
`Tue Jan 02 2024 10:42:08 GMT+0800 (中国标准时间)
[string "app/product/hx/common/Config.luac"]:0: module 'app.product.hx.configs.cn.language' not found:
no field package.preload['app.product.hx.configs.cn.language']app/product/hx/configs/cn/language.luac: cannot load incompatible bytecode
no file './app/product/hx/configs/cn/language.lua'
no file '/usr/local/share/luajit-2.1.0-beta3/app/product/hx/configs/cn/language.lua'
no file '/usr/local/share/lua/5.1/app/product/hx/configs/cn/language.lua'
no file '/usr/local/share/lua/5.1/app/product/hx/configs/cn/language/init.lua'
no file './app/product/hx/configs/cn/language.so'
no file '/usr/local/lib/lua/5.1/app/product/hx/configs/cn/language.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './app.so'
no file '/usr/local/lib/lua/5.1/app.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[string "app/product/hx/common/Config.luac"]: in function 'requireLanguageConfig'
[string "app/product/hx/common/ConfigHelp.luac"]: in function 'getTipStr'
[string "app/product/hx/models/SociatyModel.luac"]: in function 'ctor'
[string "cocos/cocos2d/functions.luac"]: in function 'new'
[string "app/product/hx/init.luac"]: in function <[string "app/product/hx/init.luac"]:0>
[C]: in function 'require'
[string "app/MyApp.luac"]: in function <[string "app/MyApp.luac"]:0>
[C]: in function 'require'
[string "update.luac"]: in function ''
[string "update.luac"]: in function <[string "update.luac"]:0>
`
烦请管理员大大 以及各位高手指点一二,这种情况是什么症状呢,纠结了一周各个办法都使用过了,依旧无法解决,特上来烦请不吝赐教,感激涕零!