使用Eclipse进行JNI开发

https://blog.****.net/Caoxi_/article/details/52182897

https://blog.****.net/songyuc/article/details/51339711

1、Type ‘size_t’ could not be resolved的错误,这是没有导入头文件的原因造成的,这时只需要右键项目Properties->C/C++ Genaral->Paths and Symbols 在右边包含进NDK下的某些include文件:例如 
D:\Android\android-ndk-r10\toolchains\arm-linux-androideabi-4.8\prebuilt\windows-x86_64\lib\gcc\arm-linux-androideabi\4.8\include 
使用Eclipse进行JNI开发
2、Type ‘uint16_t’ could not be resolve的错误,同样是需要导入一些头文件:例如 
D:\Android\android-ndk-r10\platforms\android-14\arch-x86\usr\include