I tried to test my exported apk, trying full export, but I am facing a weird thing: It is crashing... Strange.. because in the export as player I never faced trouble and I thought that'd be the same... Then I tried to open in the android studio to debug and I am having a weird error that I have no any idea why it is happening...
E/AndroidRuntime: FATAL EXCEPTION: GLThread 1104
Process: app.paulo.game, PID: 8961
com.giderosmobile.android.player.LuaException: Helper/TiledMap.lua:20: attempt to call a nil value
My lua file that is pointing the error is the following:
local map = loadfile(filename)()
does anyone have a light? because in the player i don't have any compilation error pointing "nil" value but why now after apk full exported it is trowing this?
It is a good practice to make essential variables safe after we load them, like:
(I'm not sure if it helps, I'm also newbie in debugging)
In your case you can write:
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
I tried to do that and then export it again but nothing... same thing.
Yes, in the app launch It stops
Likes: Apollo14, SinisterSoft
It compiled successfully on android studio
Likes: SinisterSoft, antix
by the way, now every change I make in gideros I'm exporting as "assets only" and debuging on android studio, this is working perfectly