In NDK you have to attach the current (native) thread to JVM, before yout can get a valid JNIEnv* for later use.
This machanism works quite well with the NDK compiler but it crashed while using Snapdragon compiler.
In NDK documentation it is written that only POSIX threads can be attached to JVM. Would it be the reason that Snapdragon compiler could be using another thread implementation?
The Snapdragon LLVM compiler does not use a different thread implmentation. It relies on NDK libraries for thread functionality.
Can you post a cut-down test case that will help us analyze the problem?
Thanks