0x01 作用
0x02 代码
char* clz_name = "co/c0c/myapplication/MainActivity";jclass clz = env->FindClass(clz_name);JNINativeMethod methods[] = {{"setJNI","([B)V", (void *)setJNI}};env->RegisterNatives(clz,methods, sizeof(methods)/ sizeof(JNINativeMethod));
