Closed klaaslusterbroodvan closed 7 months ago
If you built with gradle you should be able to see "libskiko-android-arm64.so" in the project "src" dir:
Do you have it?
Thank you for that.
I don't have a jniLibs folder there. I must be doing something wrong with the build.gradle.kts file. I assume the jniLibs file gets automatically created by the Intellij builder/compiler?
I have the following relevant lines in my gradle file:
dependencies{
...
implementation("org.jetbrains.skiko:skiko-android-runtime-arm64:0.7.86")
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-kernel:4.5.0")
implementation("org.jetbrains.lets-plot:lets-plot-common:4.1.0")
implementation("org.jetbrains.lets-plot:lets-plot-compose:1.0.1")
}
What do I need to add to make sure the libskiko-android-arm64.so file gets added to the jnilib.
I would guess you need to add everything missing in your gradle file in comparison to the demo build.gradle.kts.
@alshan Thank you so much for your explanation, it now works. This is a superior plotting library and fantastic for plots of statistical analyses. Thank you for all your work on this.
I am relatively new to programming with Android Compose. I managed to compile the demo, but the app crashes on my Android phone with the message that it cannot find the message that "libskiko-android-arm64.so" was not found. I assume this native Android library is somewhere, but how can I get it?