Pre loader

java.lang.UnsatisfiedLinkError when migrating to androidx

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

Hello,

I have an app using scichart 2.1 that runs well. I am trying to migrate to use androidx libraries and am now encountering a crash when runnign setRuntimeLicenseKey(), as shown by the trace below. Any idea how to go about resolving this? Is this something that would be solved by upgrading my SciChart version?

I have minSdkVersion 23, targetSdkVersion 28

Thanks

2019-10-01 14:39:26.874 22834-22834/? E/AndroidRuntime: FATAL EXCEPTION: main
    Process: xx.yy.zz.myapplication, PID: 22834
    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/xx.yy.zz.myapplication-EOuCiwzmNiYVjQNAioMbKw==/base.apk"],nativeLibraryDirectories=[/data/app/xx.yy.zz.myapplication-EOuCiwzmNiYVjQNAioMbKw==/lib/arm, /system/lib, /system/vendor/lib]]] couldn't find "libcore.so"
        at java.lang.Runtime.loadLibrary0(Runtime.java:1011)
        at java.lang.System.loadLibrary(System.java:1657)
        at com.scichart.core.utility.NativeLibraryHelper.tryLoadLibrary(SourceFile:39)
        at com.scichart.core.licensing.LibsodiumNativeWrapper.<clinit>(SourceFile:29)
        at com.scichart.core.licensing.LibsodiumNativeWrapper.a(SourceFile:41)
        at com.scichart.core.licensing.Decoder.<init>(SourceFile:159)
        at com.scichart.core.licensing.Credentials.setRuntimeLicenseKey(SourceFile:55)
        at com.scichart.charting.visuals.SciChartSurface.setRuntimeLicenseKey(SourceFile:246)
        at xx.yy.zz.myapplication.MyApplication.initialiseSciChart(MyApplication.java:116)
        at xx.yy.zz.myapplication.MyApplication.onCreate(MyApplication.java:88)
        at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1125)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6062)
        at android.app.ActivityThread.-wrap1(Unknown Source:0)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1764)
        at android.os.Handler.dispatchMessage(Handler.java:105)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6944)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
Version
2.1.0.2210
  • You must to post comments
0
0

yes, updated to 2.5 and it works

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies