How can I use Lets-Plot in my Android App (using Jetpack Compose and IntelliJ)?
Although there are a few answers around on the web, I cannot get it to run. Can anyone give me the following:
- A very simple example for the MainActivity.kt file
- The dependencies for the app's build.gradle.kts
Problems I encountered so far:
There is a lets-plot-compose library here, but I have no idea how to use it: https://mvnrepository.com/artifact/org.jetbrains.lets-plot/lets-plot-compose-android/1.0.1
There is an example, but to get it to run, you need a native .so library file, which I could not find: https://github.com/JetBrains/lets-plot-compose-demos
There a simple example of how to save a Lets-Plot plot to file, but if you run that on Android, the ggsave crashes the app: Kotlin lets-plot: minimal example