Is it possible to know device ABI in Android build gradle?
I need to avoid running a certain Gradle task if the ABI is not arm64-v8a. However, I also want to allow users to download the app even if their device does not support arm64-v8a. I have added ABI filters in the ndk section.
Android NDK crash with SIGSEGV(SEGV_ACCERR) or SIGSEGV(SEGV_MAPPER) for debug version
I encounterred a weird issue that native crashed in a big file (over 27k lines) for debug version while no problem for release version.
Secure socket communication between Android apps
I have an standard Android app A and a second Android app B which has a shared library (.so/NDK).
I want to setup a secure communication protocol between the two of them. I thought about using a simple localhost socket and use mTLS certificates to secure the channel.
Is there a way to store certificates safely in the Android system so that nobody else can read it? I’ve read about key-attestation but do not have experience with that.
Creating a JavaVM Android Runtime from native code
I’m working on an Android project where I need to create a JavaVM runtime environment from native code using the JNI_CreateJavaVM function. This is required for a specific use case.
Build env issue – .so files not getting packaged into APKs when using android prefabs, only on my machine
I am trying to build an android app but encountered an issue. When I try to use the openssl prefab for example, the openssl.so/libcrypto.so files do not get packed into the APK. This applies even to a brand new blank NDK project with nothing but the prefab. When I try to run the app, I get this
How do I register screen rotation event on Pixel 6a emulator using NDK?
I am trying to detect a screen rotation on my device. I have the following…