android compile demo
Closed this issue · 1 comments
zhuangsifei commented
hello, could you show a complete android compile demo. There shows an error "Use NDK cmake toolchain or cmake android autoconfig" when I compile for Android
kleest commented
Have a look at the CI configuration. You have to specify the path to the CMake toolchain file from the Android NDK installation, e.g. -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake
. Android Studio does this automatically when you setup linking to a native library.