Android #include <jni.h> file not found solution

The module compiled with Android.mk prompts #include <jni.h> file not found when upgrading to S or later versions. The
main reason is that the definition of JINI_H_INCLUDE is removed by default on S. If you want to completely modify it, you need to change the go file under the build path. More cumbersome, another method can be in the jni path
android.mk: LOCAL_HEADER_LIBRARIES := jni_headers
android.bp: header_libs: [“jni_headers”],

Guess you like

Origin blog.csdn.net/weixin_43479637/article/details/129680904