The method is declared in java
public native String stringFromJNI(byte[] b); And on c ++ function is declared
Java_theflipsiderebirth_testclintgame_1write_1in_1androidstudio_MainActivity_stringFromJNI(JNIEnv* env, object obj, jbyte b[]){...} However, the address in variable b is garbage. Why?