#include
Extern "C" JNIEXPORT jstring JNICALL
Java_com_example_cs_MainActivity_stringFromJNI (
JNIEnv * env,
Jobject/* this */) {
STD: : string hello="hello from c + +";
Return env - & gt; NewStringUTF (hello. C_str ());
}
Now in this way can I how to modify the env (*) - & gt; NewStringUTF (hello. C_str ());
Now just learning to use the NDK development android hope have senior guidance