Java.lang.unsatisfiedlinkerror In Google Play Developer Console Build 2013.1076

Hello,

We’ve received 2 of these in the past week (out of about 2,000 installs) as crash reports in Google Play.  The app is using build 2013.1076.  Google Play doesn’t tell which devices afaik.  Anyone else – any ideas?

java.lang.ExceptionInInitializerError
at com.ansca.corona.CoronaActivity.onCreate(CoronaActivity.java:107)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1622)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1674)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3735)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:662)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ExceptionInInitializerError
at com.ansca.corona.CoronaEnvironment.setLuaErrorHandler(CoronaEnvironment.java:373)
at com.ansca.corona.CoronaEnvironment.<clinit>(CoronaEnvironment.java:41)
… 14 more
Caused by: java.lang.UnsatisfiedLinkError: Couldn’t load lua: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:429)
at java.lang.System.loadLibrary(System.java:554)
at com.ansca.corona.JavaToNativeShim.<clinit>(JavaToNativeShim.java:95)
… 16 more

We just received a similar crash report.

I think it is concerning the locationManager:

java.lang.NullPointerException
at com.ansca.corona.CoronaSensorManager$CoronaLocationListener.onLocationChanged(CoronaSensorManager.java:745)
at android.location.LocationManager$ListenerTransport._handleMessage(LocationManager.java:237)
at android.location.LocationManager$ListenerTransport.access$000(LocationManager.java:170)
at android.location.LocationManager$ListenerTransport$1.handleMessage(LocationManager.java:186)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4947)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)

We just received a similar crash report.

I think it is concerning the locationManager:

java.lang.NullPointerException
at com.ansca.corona.CoronaSensorManager$CoronaLocationListener.onLocationChanged(CoronaSensorManager.java:745)
at android.location.LocationManager$ListenerTransport._handleMessage(LocationManager.java:237)
at android.location.LocationManager$ListenerTransport.access$000(LocationManager.java:170)
at android.location.LocationManager$ListenerTransport$1.handleMessage(LocationManager.java:186)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4947)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)

Same here.

at com.ansca.corona.ApplicationContextProvider.\<init\>(ApplicationContextProvider.java:14) at com.ansca.corona.notifications.NotificationServices.\<init\>(NotificationServices.java:55) at com.ansca.corona.SystemStartupBroadcastReceiver.onReceive(SystemStartupBroadcastReceiver.java:27) at android.app.ActivityThread.handleReceiver(ActivityThread.java:1971) at android.app.ActivityThread.access$1400(ActivityThread.java:122) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1077) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:132) at android.app.ActivityThread.main(ActivityThread.java:4126) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:491) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.ExceptionInInitializerError at com.ansca.corona.CoronaEnvironment.setLuaErrorHandler(CoronaEnvironment.java:373) at com.ansca.corona.CoronaEnvironment.\<clinit\>(CoronaEnvironment.java:41) ... 14 more Caused by: java.lang.UnsatisfiedLinkError: Couldn't load lua: findLibrary returned null at java.lang.Runtime.loadLibrary(Runtime.java:425) at java.lang.System.loadLibrary(System.java:554) at com.ansca.corona.JavaToNativeShim.\<clinit\>(JavaToNativeShim.java:104) ... 16 more

My users also reports that their stylus pen no longer works since my last SDK update (i jump from build 2013.1033 to 2013.1183)

Same here.

at com.ansca.corona.ApplicationContextProvider.\<init\>(ApplicationContextProvider.java:14) at com.ansca.corona.notifications.NotificationServices.\<init\>(NotificationServices.java:55) at com.ansca.corona.SystemStartupBroadcastReceiver.onReceive(SystemStartupBroadcastReceiver.java:27) at android.app.ActivityThread.handleReceiver(ActivityThread.java:1971) at android.app.ActivityThread.access$1400(ActivityThread.java:122) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1077) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:132) at android.app.ActivityThread.main(ActivityThread.java:4126) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:491) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.ExceptionInInitializerError at com.ansca.corona.CoronaEnvironment.setLuaErrorHandler(CoronaEnvironment.java:373) at com.ansca.corona.CoronaEnvironment.\<clinit\>(CoronaEnvironment.java:41) ... 14 more Caused by: java.lang.UnsatisfiedLinkError: Couldn't load lua: findLibrary returned null at java.lang.Runtime.loadLibrary(Runtime.java:425) at java.lang.System.loadLibrary(System.java:554) at com.ansca.corona.JavaToNativeShim.\<clinit\>(JavaToNativeShim.java:104) ... 16 more

My users also reports that their stylus pen no longer works since my last SDK update (i jump from build 2013.1033 to 2013.1183)

Has this been reported or solved with a more recent build?

We seem to have the same issue with an older app and were wondering if just a rebuild and publish would suffice to solve this issue. 

Thanks in advance!

Has this been reported or solved with a more recent build?

We seem to have the same issue with an older app and were wondering if just a rebuild and publish would suffice to solve this issue. 

Thanks in advance!

We are seeing a bunch of these as well. Here is the trace from our Google Developer Console. Anyone has an idea on what’s causing this?

java.lang.ExceptionInInitializerError
at com.ansca.corona.ApplicationContextProvider.<init>(ApplicationContextProvider.java:14)
at com.ansca.corona.notifications.NotificationServices.<init>(NotificationServices.java:55)
at com.ansca.corona.SystemStartupBroadcastReceiver.onReceive(SystemStartupBroadcastReceiver.java:27)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:1798)
at android.app.ActivityThread.access$2400(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:985)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ExceptionInInitializerError
at com.ansca.corona.CoronaEnvironment.setLuaErrorHandler(CoronaEnvironment.java:379)
at com.ansca.corona.CoronaEnvironment.<clinit>(CoronaEnvironment.java:41)
… 14 more
Caused by: java.lang.UnsatisfiedLinkError: Couldn’t load lua: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:429)
at java.lang.System.loadLibrary(System.java:554)
at com.ansca.corona.JavaToNativeShim.<clinit>(JavaToNativeShim.java:119)
… 16 more

We are seeing a bunch of these as well. Here is the trace from our Google Developer Console. Anyone has an idea on what’s causing this?

java.lang.ExceptionInInitializerError
at com.ansca.corona.ApplicationContextProvider.<init>(ApplicationContextProvider.java:14)
at com.ansca.corona.notifications.NotificationServices.<init>(NotificationServices.java:55)
at com.ansca.corona.SystemStartupBroadcastReceiver.onReceive(SystemStartupBroadcastReceiver.java:27)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:1798)
at android.app.ActivityThread.access$2400(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:985)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ExceptionInInitializerError
at com.ansca.corona.CoronaEnvironment.setLuaErrorHandler(CoronaEnvironment.java:379)
at com.ansca.corona.CoronaEnvironment.<clinit>(CoronaEnvironment.java:41)
… 14 more
Caused by: java.lang.UnsatisfiedLinkError: Couldn’t load lua: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:429)
at java.lang.System.loadLibrary(System.java:554)
at com.ansca.corona.JavaToNativeShim.<clinit>(JavaToNativeShim.java:119)
… 16 more