Using SWIG SWIG – Simplified Wrapper and Interface Generator: When writing native code in our Android project, we need to set up the “glue” code between java and C++, this “glue” code is the JNI code. I wrote This JNI Article about JNI in Android, the problem with writing JNI code is …