9,802 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
23
views
Qt 6 Android: Camera intent opens but image is not saved to device when using FileProvider
I am developing an Android application using Qt 6 (C++) and trying to open the system camera and save the captured image to device storage.
The camera app opens correctly, the photo is taken, but the ...
0
votes
0
answers
95
views
SIGABRT in libfbjni.so: facebook::jni::JNativeRunnable::run() crash on arm64-v8a (React Native)
I’m seeing a native crash (SIGABRT) on arm64-v8a devices in a React Native Android app on Android 15 and 16. The crash originates from libfbjni.so while executing facebook::jni::JNativeRunnable::run()....
0
votes
0
answers
60
views
React Native Android: BLE audio packets received but no continuous live sound using AudioTrack + JNI (.so SDK)
I am building a React Native (Android) application that connects to a Bluetooth LE fetal doppler device.
The BLE connection works correctly and I receive live packets (0x71 command) that contain audio ...
0
votes
0
answers
71
views
Portaudio is recording a weird distorted waveform when recording jack devices and firefox
I am not sure why this is happening so I am coming here to look for any sort of help I can get. Basically when recording any jack device such as firefox in my app it comes out as distorted. But it ...
3
votes
0
answers
142
views
Memory leak in JNI with AttachCurrentThread() and DetachCurrentThread()
I have a Java application that calls a native function. That native function contains a loop, and in each iteration it launches 10 threads and waits for them to complete. Each thread performs a number ...
6
votes
0
answers
459
views
When should I use name resolution vs. RegisterNatives in JNI?
In System.c, the JVM function corresponding to Java’s System.currentTimeMillis() is registered using RegisterNatives.
In contrast, System.identityHashCode(Object) calls a JVM function directly based ...
0
votes
0
answers
67
views
AWS Kinesis Video Streams Producer JNI times out (StatusCode: 0xf) in Ubuntu container running gRPC service; REST container works
gRPC service consistently fails with KVS Producer JNI "producer stream creation time out StatusCode: 0xf" about ~15s after "Creating Kinesis Video stream".
REST service (same repo, same JNI .so, same ...
3
votes
1
answer
118
views
What is a .so file in Java projects, and how can I use an old JAR that depends on .so files in Spring Boot?
I have an old Java JAR file that depends on .so files (shared object libraries).
I understand .so files are native libraries (written in C/C++), and the JAR uses JNI (Java Native Interface) or JNA to ...
0
votes
0
answers
76
views
Link third party C library through the JNI
I'm trying to add the wasmtime c-api library to my app. But I'm getting the following error at runtime:
java.lang.UnsatisfiedLinkError: dlopen failed: library "/Users/tufekoi/Repos/...
0
votes
0
answers
22
views
LOCAL_MODULE_FILENAME must not contain a file extension (Implementing GStreamer in Andriod Studio Project)
I am trying to integrate GStreamer via JNI into an existing Android Studio project.
My Android.mk file looks like this:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := rtsp-...
0
votes
0
answers
77
views
How to get Cronet Android headers to use with cronet.so in JNI (C++)?
I'm trying to use Cronet on Android directly from my JNI / C++ layer, not through the Java API.
I already have the cronet.so (from Play Services / build output).
What I'm missing are the headers (like ...
2
votes
2
answers
457
views
Find out which third party library includes specific native library
I have a very large Android project with hundreds of 3rd party libraries.
Some of those libraries have native .so libs inside then. I can see all .so files using Android Studio -> Analyze Apk... ...
0
votes
0
answers
84
views
How to get information from a QR Code with Unreal Engine Android
I have very little experience with c++ or java and I want to make an Android app with Unreal Engine 5.3, which can either scan or be opened by scanning a QR Code and do something with the Information ...
0
votes
0
answers
139
views
Java to C++ JNI DLL error - java.lang.UnsatisfiedLinkError: ... Can't find dependent libraries
Edit to describe the solution:
During development, I was making changes to my path. If running java in a Command Prompt window, then that window must be closed and a new one opened to reflect changes ...
0
votes
0
answers
107
views
JNI is not working correctly in flutter:ffi
I'm trying to call the function through the environment variable env, namely env->FindClass("android/os/BatteryManager"), but eventually the error
F/libc (27883): Fatal signal 11 (...