我是一个新手,使用的是v3quick。然后使用了里面的create_project.bat创建了一个项目,按教程把.buildpath都修改了。把cocos2dx3.2中的PrebuiltRuntimeLua也复制进去了.
然后用player3.exe可以正常显示。但我在ide中导入后,第一次调试时会报无法访问6010端口,但我是没有开启防火墙的,接着也在系统防火墙里加入了规则允许6010端口还有PrebuiltRuntimeLua程序访问,用tcpview查看端口也没有被占用。
在后面的调试中一直无法使用,显示错误:
项目路径/PrebuiltRuntimeLua.exe can’t run normally, it would be some error with your runtime or blocked by firewall
相关库是Lua 5.1, cocos2dx 3.2, python 2.7, android-ndk-r9, android-sdk-2.2
然后尝试使用手机调试,出现以下错误
Start LaunchActivity org.cocos2dx.PrebuiltRuntimeLua/org.cocos2dx.lua.AppActivity
Debugger v1.1.0
Debugger: Trying to connect to 10.0.1.22:10000 ...
Debugger: Connection succeed.
debug args = require('debugger')('10.0.1.22','10000','luaidekey',nil,'android','/E:/cocos2dx/workspace/brave/','/data/data/org.cocos2dx.PrebuiltRuntimeLua/files/debugruntime/')
can not get file data of /usr/local/share/lua/5.1/?/init.luaapp/MyApp.lua
:9: module 'app.MyApp' not found:
no field package.preload'app.MyApp']
no file './app/MyApp.lua'
no file '/usr/local/share/luajit-2.0.1/app/MyApp.lua'
no file '/usr/local/share/lua/5.1/app/MyApp.lua'
no file '/usr/local/share/lua/5.1/app/MyApp/init.lua'
no file './app/MyApp.so'
no file '/usr/local/lib/lua/5.1/app/MyApp.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'
请问应该怎么处理.
module ‘framework.init’ not found:

module ‘app.MyApp’ not found: