Hi,
I am trying to run a project for android using corona enterprise and ADT’s Eclipse. My project is already working in xcode, but I’m having trouble for android.
The project seems to build successfully and is installed in the Android Virtual Device, but it crashes after launch. This is the device log:
01-30 18:40:23.674: E/Trace(623): error opening trace file: No such file or directory (2) 01-30 18:40:23.764: W/dalvikvm(623): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/ansca/corona/JavaToNativeShim; 01-30 18:40:23.764: W/dalvikvm(623): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Lcom/ansca/corona/CoronaEnvironment; 01-30 18:40:23.764: W/dalvikvm(623): threadid=1: thread exiting with uncaught exception (group=0x40a13300) 01-30 18:40:23.774: E/AndroidRuntime(623): FATAL EXCEPTION: main 01-30 18:40:23.774: E/AndroidRuntime(623): java.lang.ExceptionInInitializerError 01-30 18:40:23.774: E/AndroidRuntime(623): at com.mycompany.app.CoronaApplication.onCreate(CoronaApplication.java:22) 01-30 18:40:23.774: E/AndroidRuntime(623): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:999) 01-30 18:40:23.774: E/AndroidRuntime(623): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4151) 01-30 18:40:23.774: E/AndroidRuntime(623): at android.app.ActivityThread.access$1300(ActivityThread.java:130) 01-30 18:40:23.774: E/AndroidRuntime(623): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1255) 01-30 18:40:23.774: E/AndroidRuntime(623): at android.os.Handler.dispatchMessage(Handler.java:99) 01-30 18:40:23.774: E/AndroidRuntime(623): at android.os.Looper.loop(Looper.java:137) 01-30 18:40:23.774: E/AndroidRuntime(623): at android.app.ActivityThread.main(ActivityThread.java:4745) 01-30 18:40:23.774: E/AndroidRuntime(623): at java.lang.reflect.Method.invokeNative(Native Method) 01-30 18:40:23.774: E/AndroidRuntime(623): at java.lang.reflect.Method.invoke(Method.java:511) 01-30 18:40:23.774: E/AndroidRuntime(623): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786) 01-30 18:40:23.774: E/AndroidRuntime(623): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) 01-30 18:40:23.774: E/AndroidRuntime(623): at dalvik.system.NativeStart.main(Native Method) 01-30 18:40:23.774: E/AndroidRuntime(623): Caused by: java.lang.ExceptionInInitializerError 01-30 18:40:23.774: E/AndroidRuntime(623): at com.ansca.corona.CoronaEnvironment.setLuaErrorHandler(CoronaEnvironment.java:373) 01-30 18:40:23.774: E/AndroidRuntime(623): at com.ansca.corona.CoronaEnvironment.\<clinit\>(CoronaEnvironment.java:41) 01-30 18:40:23.774: E/AndroidRuntime(623): ... 13 more 01-30 18:40:23.774: E/AndroidRuntime(623): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load lua: findLibrary returned null 01-30 18:40:23.774: E/AndroidRuntime(623): at java.lang.Runtime.loadLibrary(Runtime.java:365) 01-30 18:40:23.774: E/AndroidRuntime(623): at java.lang.System.loadLibrary(System.java:535) 01-30 18:40:23.774: E/AndroidRuntime(623): at com.ansca.corona.JavaToNativeShim.\<clinit\>(JavaToNativeShim.java:104) 01-30 18:40:23.774: E/AndroidRuntime(623): ... 15 more
Is it possible to use Eclipse to build Corona Enterprise projects or I must use ant?
Any idea what I am doing wrong or missing?
Thanks for your support