Closed wusspuss closed 1 year ago
I strictly followed the guide; Android Sdk is in ~/Android/Sdk make keystore works fine make push run produces the following:
make keystore
make push run
mkdir -p makecapk/lib/arm64-v8a /home/archie/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android30-clang -ffunction-sections -Os -fdata-sections -Wall -fvisibility=hidden -Os -DANDROID -DAPPNAME=\"cnfgtest\" -I./rawdraw -I/home/archie/Android/Sdk/ndk/23.1.7779620/sysroot/usr/include -I/home/archie/Android/Sdk/ndk/23.1.7779620/sysroot/usr/include/android -I/home/archie/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/android -fPIC -I. -DANDROIDVERSION=30 -m64 -o makecapk/lib/arm64-v8a/libcnfgtest.so test.c android_native_app_glue.c -L/home/archie/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/30 -Wl,--gc-sections -s -lm -lGLESv3 -lEGL -landroid -llog -shared -uANativeActivity_onCreate test.c:8:10: fatal error: 'os_generic.h' file not found #include "os_generic.h" ^~~~~~~~~~~~~~ 1 error generated. make: *** [Makefile:122: makecapk/lib/arm64-v8a/libcnfgtest.so] Error 1
My bad. Forgot to recursively clone.
I strictly followed the guide; Android Sdk is in ~/Android/Sdk
make keystore
works finemake push run
produces the following: