android-ndk-rs
android-ndk-rs copied to clipboard
Rust bindings to the Android NDK
```rust #[link(name = "android")] // add this extern "C" { pub fn AAssetManager_fromJava(env: *mut JNIEnv, assetManager: jobject) -> *mut AAssetManager; } ```
Hey there! thanks for this library! I ran into this issue, possibly related to my build process, when I build some code using `android_ndk`. When I add `android_ndk` My `.so`...
Since currently different alternatives to __jni__ crate can be used for interfacing with java runtime I propose avoid __jni__ wrappers in favor low level __jni-sys__ types.
I don't sure, this problem actually related to android-ndk-sys nor jni crate but it looks very strange for me. Also I don't quite familiar with JNI, so I may do...
Very important fix for #3