termux-ndk icon indicating copy to clipboard operation
termux-ndk copied to clipboard

NDK host architecture. None of the following directories

Open xdevkroom opened this issue 3 years ago • 2 comments

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

xdevkroom avatar May 02 '22 03:05 xdevkroom

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.

lzhiyong avatar May 04 '22 03:05 lzhiyong

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

arcans1998 avatar Jun 22 '22 13:06 arcans1998

ndk高版本不兼容低版本吗?

mobutcher avatar Nov 07 '23 13:11 mobutcher