This is a code example for issue: android/ndk#1555
export CLANG=<path to NDK clang binary> #e.g. /opt/android-ndk-r22b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
chmod +x ./build.sh && ./build.sh
Folder diagnostic_info
contains following information
error.log
- output of compiler on my local machinetest-*
- files which clang asked to attach to bug report