Testing my app with a virtual android device made with AVD ( Android 2.3 ), on Application start I receive a Force Close window and adb logcat say that:
W/dalvikvm( 409): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/ansca/corona/CoronaActivity;
W/dalvikvm( 409): Class init failed in newInstance call (Lcom/ansca/corona/CoronaActivity;)
D/AndroidRuntime( 409): Shutting down VM
W/dalvikvm( 409): threadid=1: thread exiting with uncaught exception (group=0x40015560)
E/AndroidRuntime( 409): FATAL EXCEPTION: main
E/AndroidRuntime( 409): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 409): at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime( 409): at java.lang.Class.newInstance(Class.java:1409)
E/AndroidRuntime( 409): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
E/AndroidRuntime( 409): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1561)
E/AndroidRuntime( 409): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
E/AndroidRuntime( 409): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
E/AndroidRuntime( 409): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
E/AndroidRuntime( 409): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 409): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 409): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime( 409): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 409): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 409): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 409): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 409): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 409): Caused by: java.lang.UnsatisfiedLinkError: Couldn’t load lua: findLibrary returned null
E/AndroidRuntime( 409): at java.lang.Runtime.loadLibrary(Runtime.java:429)
E/AndroidRuntime( 409): at java.lang.System.loadLibrary(System.java:554)
E/AndroidRuntime( 409): at com.ansca.corona.CoronaActivity.(CoronaActivity.java:75)
E/AndroidRuntime( 409): … 15 more
The error seem to be “UnsatisfiedLinkError: Couldn’t load lua”.
Somebody have can imagine why and how to fix the problem ?
Thanks [import]uid: 138364 topic_id: 27781 reply_id: 327781[/import]