In my project, DIR tree like below:
I use “require” to import “people” and “plane” in main.lua like this:
Cpeople = require “base.people”
Cplane = require “base.plane”
It works normally in win32 debug.
But when I make APK and run in android device(HTC G12).
I find Error Msg like this:
Get data from file(assets/base.people.lua) failed!
It seams “require” loader did not tranfer [base.people] into [base/people.lua].
did somebody met this before?