It is lucky because developers who are working on reSIProcate project created an openssl library on Android already. In order to integrate this library with reSIProcate we have to pull its source, and build them with ndk-build command.
1. Get openssl-android source code
Open terminal and run this command:
git clone https://github.com/resiprocate/openssl-android.git
2. Build source
Move to the folder contains source code and run ndk-build command:
After building successfully, you will see *.so file in folder obj. These file will be used while building reSIProcate library in next article.
- To setup NDK environment please follow this guide
- Maybe you will get this error
To build successfully, open file jni/Application.mk and change NDK_TOOLCHAIN to right version. For example :