Vote count: 0 Creating a native activity in android: via vim & Makefile only no use of gradle, ant, maven, android.mk and all that other stuff I already created a (java-native) android apk via makefile that works well on my Samsung S7. When I try to run the app, it crashes. My gut feeling says I haven't compiled/linked the android_native_app_glue.c --> libandroid_native_app_glue.a with main.cpp --> libnative-activity.so properly. It works fine with Google's pre-compiled armeabi-v7a libnative-activity.so I create the static app-glue first as: aarch64-linux-android-gcc -march=armv8-a -c android_native_app_glue.c -o native_app_glue.o aarch64-linux-android-ar rcs libandroid_native_app_glue.a nat...
ادامه مطلب