you need to add jni.h to your project path.
add the following paths to: Project -> Properties -> C / C ++ General -> Paths and Symbols -> "Includes" -> GNU C ++
$ {NDK_ROOT} \ Sources \ CXX-STL \ wildebe-libstdC ++ \ 4.8 \ enable
$ {NDK_ROOT} \ platform \ Android-9 \ arch-x86 \ USR \ includes
clean the project.
source
share