Note that we're working on improving this, but this is where we are currently. The first 5 steps you should only need to do once, and after that you can just run ./gradlew library:assembleRelease
from the right dir (step 6).
Also note that this is somewhat sensitive to your local config, so while I've tried to test and make sure it works, well, hopefully I didn't forget any steps that I have already done in the past.
-
Install NDK r15c from https://developer.android.com/ndk/downloads/older_releases (yes, this sucks, but newer versions don't understand the
--deprecated-headers
argument required to build OpenSSL against a v21 toolchain).- Extract it and put it somewhere we'll call
$NDK_HOME
.
- Extract it and put it somewhere we'll call
-
Install rustup from https://rustup.rs. You can do this while part 1 is happening.