android-rs-glue icon indicating copy to clipboard operation
android-rs-glue copied to clipboard

Glue between Rust and Android

Results 48 android-rs-glue issues
Sort by recently updated
recently updated
newest added

I'm trying to use cargo-apk with winit 0.19.0. Sadly when I run `cargo apk build --target ...` I get the following error: ```rust = note: /root/src/target/aarch64-linux-android/debug/deps/winittest-5ef4fa9e35ece31e.56g2qny4080fqnx9.rcgu.o: In function `android_glue::get_native_window::h9f6ad735a1f5e276': /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/android_glue-0.2.3/src/lib.rs:123:...

I'm on Arch Linux. ``` $ docker run -e PKG_CONFIG_ALLOW_CROSS=1 --rm -v "$(pwd):/root/src" \ -w /root/src philipalldredge/cargo-apk cargo apk build ... error[E0425]: cannot find value `HOST_TAG` in this scope -->...

The latest version of cargo-apk on crates.io is 0.4.0 while on GitHub it is now at 0.4.3.

I'd like to include `.so` files for the vulkan validation layers (e.g. `libVkLayer_core_validation.so`) in my APK. How can I do that?

enhancement

``` $ adb logcat | grep RustAndroidGlueStdouterr 01-16 10:47:43.490 9610 9625 D RustAndroidGlueStdouterr: Entering android_main 01-16 10:47:43.490 9610 9625 D RustAndroidGlueStdouterr: Creating application thread 01-16 10:47:43.492 9610 9626 D RustAndroidGlueStdouterr:...

I developed bindings to c++ library, which widely uses global variables, which requires runtime initialization/finalization. The library builds using clang++ from android NDK. I have many linking errors like an...

```shell 03-14 21:43:32.166 30174-30192/com.example.arcore_example A/zygote: java_vm_ext.cc:504] JNI DETECTED ERROR IN APPLICATION: use of invalid jobject 0xd35ff7a0 03-14 21:43:32.166 30174-30192/com.example.arcore_example A/zygote: java_vm_ext.cc:504] "Thread-2" prio=10 tid=12 Runnable 03-14 21:43:32.166 30174-30192/com.example.arcore_example A/zygote: java_vm_ext.cc:504]...

How can I use a native library I've built for Android? More specifically, I'd like to build `rust-sdl2`, however it seems `cargo-apk` cannot find the built SDL2 libraries.

Currently it is difficult to interact with the JNI and NDK through rust. This issue is asking for: - A way to insert code called on the main thread at...