Search code examples
androidandroid-ndkclangtoolchain

android r11 ndk is missing clang tool chain


Our android applications use multiple shared and static libraries that were pointing to the clang 3.5 tool chain via the Application.mk NDK_TOOLCHAIN_VERSION=clang3.5. We use command line ndk-build. A fairly significant update to the android ndk tor11 was just released, release notes indicate that everything now uses clang and that latest clang is 3.8. After upgrading to r11 the clang tool chain doesn't appear to be anywhere in the updated ndk. My question simply is where do find/install/update the missing toolchain(s). All I see in the in the /ndk-bundle/toolchains/ is ... android??/x86 .. 4.9 which is not clang.

Any help or insight would be greatly appreciated.


Solution

  • Try using clang instead of clang3.5.