JNI DETECTED ERROR IN APPLICATION using JNIEnv* from thread

Hi i work on project writen on cocos2dx v3.0 alpha , android studio v 2.33 ndk v: 10.e
in project i have to get value from c++ in java , the problem only then app run in dev version it crush on error from topic , but if i make signed apk and run app it work without crush , so how i can fix it and if it problem android studio or ndk or cocos ?