I have been trying to marry Boost and android on windows for long time and tried lot of approaches but still no luck. I want to make a sample program using Boost library in
My question contained almost complete steps for including BOOST library in Android. But still there are some important points you should remember while working with this.
Delete auto generated obj and libs folder Each time before you compile your native code.
If you are going to write your native code in C++, add LOCAL_CPP_EXTENSION := .cpp to your Android.mk(jni/Android.mk) file.
if you are going to code in C++, put your all cpp code inside extern "C" {}.
extern C { /*cpp code*/ }