Android 'App' Example - How to Build

I’m using the Android version of Enterprise and copied the “App” Example that’s provided. I havn’t been able to build the project. On the simulator Corona gives a plugin.library not found error, and in eclipse the LuaLoader.java and CoronaApplication.java is full of errors. 

In short I just need help setting up the project, and possibly how to call a java method if you all feel really helpful :slight_smile:

You should start with Corona Enterprise’s Sample project instead.  It would be much simpler.

I recommend that you start with sample project “SimpleLuaExtension” first, which shows you how extend the Lua API by creating Lua functions that call Java methods.  That project also shows you how to work with the LuaState object.  You can find this project at.

   ./CoronaEnterprise/Samples/SimpleLuaExtension

Also, there is a “ReadMe.html” file at the root of the Corona Enterprise folder.  It provides instructions on how to build the above sample project under the “Building with ant” section.

You can also find instructions on how to build the above sample project online here…

   http://docs.coronalabs.com/daily/native/android/index.html

That should help get you going.  :)

You should start with Corona Enterprise’s Sample project instead.  It would be much simpler.

I recommend that you start with sample project “SimpleLuaExtension” first, which shows you how extend the Lua API by creating Lua functions that call Java methods.  That project also shows you how to work with the LuaState object.  You can find this project at.

   ./CoronaEnterprise/Samples/SimpleLuaExtension

Also, there is a “ReadMe.html” file at the root of the Corona Enterprise folder.  It provides instructions on how to build the above sample project under the “Building with ant” section.

You can also find instructions on how to build the above sample project online here…

   http://docs.coronalabs.com/daily/native/android/index.html

That should help get you going.  :)