NDK host architecture. None of the following directories
FAILURE: Build failed with an exception.
- What went wrong: A problem occurred configuring project ':app'.
Could not determine NDK host architecture. None of the following directories exist: /data/data/com.termux/files/home/opt/android-ndk/prebuilt/linux-x86_64
i used the GL3 example but exit code build fail
I don't know how to solve it, please make sure the path of ndk in local.properties is correct and your phone is aarch64 architecture.
To solve the issue, you need to create a symbolic link
ln -s /data/data/com.termux/files/home/opt/android-ndk/prebuilt/linux-linux-aarch64 /data/data/com.termux/files/home/opt/android-ndk/prebuilt/linux-x86_64
ndk高版本不兼容低版本吗?