I need to use C++17
compliant source files in my Android project. I added my .cpp
files to the src/main/cpp
folder.
After the
For Android NDK, llvm/Clang became the default toolchain since r13b and gcc was removed since r18b.
You need to remove '-DANDROID_TOOLCHAIN=gcc'
and let the build system to select clang by default.
Also, cross check ndk revision history and --gcc-toolchain changes and clang migration from gcc.