Skip to content

meoyawn/kotlin-rust-android

Repository files navigation

kotlin-rust-android

Building libhello.so

  • install rustup
  • follow along this blog post:
    • add android arm target
    • install NDK r10e
    • make api 18 standalone toolchain
    • create your cargo config file
    • run cargo build, you can add --release flag
    • copy the .so to app/jniLibs/armeabi-v7a
  • run the app

If all goes well, you should see this: img

About

talking to rust from kotlin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages