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
我们不需要的模块,也可以修改这里的设置
cocos2dx lua bug之module 'lsqlite3' not found