I am trying to generate Android build on Linux, but I keep getting this error
"include android/native_window_jni.h ": No such file or directory
I believe that there is some step that I keep missing.
This is what I am doing so far:
- cloned urho3d from repository
- open cloned directory and make directory called “Android_Build”
- open new directory in terminal
- run cmake … -DANDROID=1 from terminal
- make -j2
I do have latest Android SDK and NDK on my computer , and I’ve exported them as environment variables.
Their locations are “/home/user/Android/Sdk/” and “/home/user/Android/Sdk/ndk-bundle”.
I’ve also tried to add “-DANDROID_ABI=arm64-v8a” flag , but CMake throws warning that it is not used by project.