SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0 votes
60 views

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)
Showing 1 result
This template supports the sidebar's widgets. Add one or use Full Width layout.