1. Right-click in the VS project, select " Properties ", select " VC++ Directory " in the pop-up window , and then edit the " Include Directory " on the right
2. Add include
folders and include\win32
folders under the local JDK directory
Solved: JNI reported an error: "Cannot open source file jni.h" "JNIEXPORT This statement has no storage class or type specifier"
Guess you like
Origin blog.csdn.net/michael_f2008/article/details/88525000
Recommended
Ranking