Changing the variable CRYPTO_LIB will either use nettle or botan (anything else will crash).
Additionally the threads to use has been returned and will be fixed.
Using assorted changes gotten from Huss we've managed to make it work with a few caveats:
-You need to open android studio via the terminal
-Certain libraries (OpenSSL) needed to be updated
-Rust Tool Chain has to be updated
-New NDK is 25, which changes and removes certain things from the per-architecture make files to the general make file (LD, AR, AS, RANLIB, STRIP)
Make android build use sequoia v1.3.1 instead of 1.3.0 which just includes:
- Fixed a crash resulting from unconstrained, attacker-controlled heap allocations.
Currently is needed to use rust nightly to cross-build the latest sequoia version for Android.
Before building again is needed to run, on the build machine:
rustup default nightly
rustup update nightly
rustup component add rust-src
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android