I was thinking we should have a forum to deal with android errors rather than taking up Android forum space.
I seem to be getting quite a few 'java.lang.UnsatisfiedLinkError’ errors on android that is causing me to blow the bad behavior threshold.
Is this something that I am causing in my code or is it a Corona issue, I don’t really know where to start looking?
Thanks, Greg
The UnsatisfiedLinkError is thrown when an application attempts to load a native library like .so in Linux, .dll on Windows or .dylib in Mac and that library does not exist. Specifically, in order to find the required native library, the JVM looks in both the PATH environment variable and the java.library.path system property.
I’m using Corona 2018.3329
with the following plugins:
[“plugin.google.iap.v3”] = { publisherId = “com.coronalabs” ,supportedPlatforms = { android=true }},
[“plugin.amazon.iap”] = {publisherId = “com.coronalabs”, supportedPlatforms = { [“android-kindle”]=true }},
[“plugin.openssl”] ={publisherId = “com.coronalabs”},
Apparently the 12 crashes are all on this device : Xperia Z5 Compact (E5823)
and this is from the google play log:
java.lang.UnsatisfiedLinkError :
at java.lang.Runtime.loadLibrary0 (Runtime.java:989)
at java.lang.System.loadLibrary (System.java:1530)
at com.ansca.corona.JavaToNativeShim.<clinit> (JavaToNativeShim.java:116)
at com.ansca.corona.CoronaEnvironment.setLuaErrorHandler (CoronaEnvironment.java:391)
at com.ansca.corona.CoronaEnvironment.<clinit> (CoronaEnvironment.java:50)
at com.ansca.corona.CoronaActivity.onCreate (CoronaActivity.java:231)
at android.app.Activity.performCreate (Activity.java:6720)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2673)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2781)
at android.app.ActivityThread.-wrap12 (ActivityThread.java)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1508)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:241)
at android.app.ActivityThread.main (ActivityThread.java:6274)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:776)