How can I create a shared lib '.so' that can be used in my Android app, and how can I use it?
You can look at my example project: flapigen-rs/android-example at master · Dushistov/flapigen-rs · GitHub , look at Cargo.toml
and https://github.com/Dushistov/rust_swig/blob/master/android-example/.cargo/config also you may be interesting to look at gradle rules to run cargo from gradle build
(so it is possible to run build from Android Studio)
2 Likes