Closed warm-dawn closed 2 years ago
command: ../tools/android/cmake_arm-android.sh -DHELLOIMGUI_CREATE_ANDROID_STUDIO_PROJECT=ON
how to set apkCMake_ndkDir?
Hello,
You are right, there was an issue. I just pushed an update here: https://github.com/pthom/hello_imgui/commit/d25f06cb6395f1795fbae72ef7829850678cbf15
Please update your repo.
If you follow the instructions here, and set ANDROID_HOME + ANDROID_NDK_HOME, then you should be able run cmake. For example:
export ANDROID_HOME=/Users/Me/Library/Android/sdk
export ANDROID_NDK_HOME=/Users/Me//Library/Android/sdk/ndk/21.3.6528147
Android's build is notoriously complex, so I hope this will be enough. Good luck!
thanks a lot!