cocos2dx lua bug之module 'lsqlite3' not found
05-27 15:41:01.360: D/cocos2d-x debug info(7261): [LUA-print] ----------------------------------------
05-27 15:41:01.360: D/cocos2d-x debug info(7261): [LUA-print] LUA ERROR: [string "src/bqsframework/GameUpdate.lua"]:41: module ‘lsqlite3‘ not found:
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no field package.preload[‘lsqlite3‘]
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘./lsqlite3.lua‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘/usr/local/share/lua/5.1/lsqlite3.lua‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘/usr/local/share/lua/5.1/lsqlite3/init.lua‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘/usr/local/lib/lua/5.1/lsqlite3.lua‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘/usr/local/lib/lua/5.1/lsqlite3/init.lua‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘src/‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘./lsqlite3.so‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘/usr/local/lib/lua/5.1/lsqlite3.so‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘/usr/local/lib/lua/5.1/loadall.so‘
修改 Application.mk 请检查你的工程jni目录下的Application.mk文件,看里面是否启用了sqlite模块 CC_USE_SQLITE := 1
我们不需要的模块,也可以修改这里的设置
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。