'crossroad setup failed: Android NDK is only available for Linux 64-bit

I'm trying to build libjxl for android-arm64 by crossroad. I have install NDK, the evidence is I can run ndk-build command. The problem is: crossroad --h android-arm64 failed with error:

android-arm64: Setups a cross-compilation environment for Android on ARM.

Not available. Some requirements are missing:
Android NDK is only available for Linux 64-bit

But my server is linux 64-bit. Here is uname -a result:

Linux 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64

Any suggestion please? If you need any further information, please let me know. Thanks in advance~



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source