The accessibility was a bit of a false lead.
I managed to resolve my issue.
I am using Lua Glider, and I compiled with the
require “CiderDebugger”;
at the beginning of my main.lua file.
I did the following:
-
removed the CiderDebugger line from my main.lua file.
-
ran the project with the Lua Glider Build Main Project(F11) button (so Glider didn’t automatically add the CiderDebugger to my source code)
-
Built for Android
Result: my application now runs without error.
It’s interesting that in the old Corona build the CiderDebugger didn’t cause the problem. Both Lua Gliders are up-to-date on both machines.
I don’t know conclusively, but I suspect that the difference might be related to permissions. The latest Corona sdk doesn’t have the default permissions of the old Corona.
There was an information line in my log that said the following:
… "CiderDebugger.lua:476: attempt to index local ‘udpSocket’ (a nil value)