Build script to compile static OpenSSL binaries for android
Build script to compile static OpenSSL binaries for android
Set the variabled ANDROID_NDK, OPENSSL_VERSION and API_LEVEL as required. Run ./build.sh to start building.
You might also want to change the BUILD_TARGETS, depending on your needs.
I found the initial script on stackoverflow: https://stackoverflow.com/questions/52717228/how-to-compile-openssl-1-1-1-for-android