diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 1c4b617..47e05f3 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -4,7 +4,7 @@ android:versionCode="1" android:versionName="1.0"> - + diff --git a/jni/Application.mk b/jni/Application.mk index 650082a..b1527c7 100644 --- a/jni/Application.mk +++ b/jni/Application.mk @@ -1,7 +1,7 @@ # https://developer.android.com/ndk/guides/application_mk.html NDK_TOOLCHAIN_VERSION := clang -APP_PLATFORM := android-10 +APP_PLATFORM := android-23 APP_OPTIM := release APP_ABI := armeabi-v7a # arm64-v8a x86 diff --git a/jni/main.c b/jni/main.c index 4af74a5..bf3a105 100644 --- a/jni/main.c +++ b/jni/main.c @@ -7,6 +7,8 @@ #include #include +#include + #define LOG(...) ((void)__android_log_print(ANDROID_LOG_INFO, "NativeExample", __VA_ARGS__)) struct engine @@ -243,8 +245,6 @@ static void engine_handle_cmd(struct android_app* app, int32_t cmd) void android_main(struct android_app* state) { - app_dummy(); - struct engine engine; memset(&engine, 0, sizeof(engine));