Note
This guide assumes that you're building for aarch64-linux-android only, but a similar approach should apply to other CPU architectures too.
To build and run lune for android, you need to do the following:
- Set up your cargo config:
[target.aarch64-linux-android]
ar = "$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-ar"