Sorry if this has been asked before as I’ve already searched the forum here but couldn’t get any result on it. I’m trying to get some simple samples to compile to an .apk using IL2Cpp just to test it out, but every time it seems that the Editor couldn’t find NDK r10e, even though the NDK is properly installed. The NDK that I got is a r10e-rc4 (64-bit).
I’m not sure if this information helps but my system is Fedora 24 with LLVM and clang version 3.8, and gcc 6.1.1.
Thanks for the reply. There was a pop up window stating that the NDK version is invalid and “Unable to detect NDK version, please pick a different folder”. Unity specifically asked for NDK version 10e to be installed, and the latest from NDK 10e of Linux’s version is 10e-rc4 as stated in the NDK’s RELEASE.TXT file.
I also tried to get answers from other sites such as stackoverflow for the above problem, and from what I read, Unity will ask for a very specific version of NDK or otherwise it won’t recognize it. So I was wondering did I actually install the right NDK version (r10e-rc4) for Unity 5.4.0.p1?
It looks like the android ndk selection when building for il2cpp may need some additional love to work with the Linux editor - we’ll remedy that in an upcoming build.
Until then, you may be able to work around this locally by symlinking or copying your linux-x86 toolchain folder (e.g. $ANDROID_NDK_ROOT/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86) to darwin-x86_64.