python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Why JNI GetByteArrayElements does not reserve pixel stride
I need to pass a YUV_420_8888 image from Android to C++ for processing. So, I take the image planes, convert them to ByteArray, then send them to C++ function.
val yBuffer: ByteBuffer = image.planes[0...
no_name
Votes: 0
Answers: 1
Gradle tasks loading a JNI library cannot work in daemon mode
I have developed a custom Gradle task that needs to load a JNI library (System.load), from a custom class loader.
That's not a problem if Gradle is run with --no-daemon command line option, but if the...
Hervé Guillemet
Votes: 0
Answers: 0
JNI GetStaticFieldID() causes segmentation fault
I have a program Agent that launches a thread call BeaconSender that sends a Beacon to another program called Manager using RMI through Manager's BeaconListener interface. When the manager receives th...

Wendell Best
Votes: 0
Answers: 0
How to use ndk-stack in Android Studio?
I need to debug my native C code. (I'm a newbie in C and ndk). I get this error, but i don't know exactly from where the bug come from:
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x38
I fi...
Jan Rozenbajgier
Votes: 0
Answers: 0