We have been trying since last week But couldn’t integrate Corona enterprise with native android. We tried all the sample apps but all apps are throwing the same error “This application failed to load and execute main.lua”.
What we have tried:
-
Like for example we started by creating the local.properties in “/Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android” using “Building with Ant” using steps provided in "http://docs.coronalabs.com/daily/native/android/index.html"
-
We imported the project in android sdk, which was then throwing the reference error for including Corona library. We included the library from “/Applications/CoronaEnterprise/Corona/android/lib/Corona”. (Let me know if that is what should or shouldn’t be added as library as it itself looks like a project.)
-
We built the app for simulator and device, but they both are crashing with “This application failed to load and execute main.lua” as error in console.
Possible reason is we are not including main.lua file anywhere manually. We don’t know if it is called manually or automatically by the sdk.
So the first and foremost question is how and where to call the main.lua file?