I'm not sure if it's desired to maybe create a second set of scripts instead. The existing android build scripts don't work with the latest ndk. The latest ndk dropped support for arm prior to armv7a and mips. It is now recommended that prebuilt toolchains be used instead of creating a toolchain for each build (this also saves a lot of disk space.) I've tested this new script and it works on the latest development version of Ubuntu and the latest version of MacOS. perhaps a different folder with android-legacy or something like that for the old architectures?
I'm not sure if it's desired to maybe create a second set of scripts instead. The existing android build scripts don't work with the latest ndk. The latest ndk dropped support for arm prior to armv7a and mips. It is now recommended that prebuilt toolchains be used instead of creating a toolchain for each build (this also saves a lot of disk space.) I've tested this new script and it works on the latest development version of Ubuntu and the latest version of MacOS. perhaps a different folder with android-legacy or something like that for the old architectures?