diff --git a/.gitignore b/.gitignore index d666e5b..ed43feb 100644 --- a/.gitignore +++ b/.gitignore @@ -23,7 +23,6 @@ gradle-app.setting ### VisualStudioCode.gitignore .vscode/* -!.vscode/settings.json !.vscode/tasks.json !.vscode/launch.json !.vscode/extensions.json diff --git a/module/build.gradle.kts b/module/build.gradle.kts index d10184b..d927684 100644 --- a/module/build.gradle.kts +++ b/module/build.gradle.kts @@ -12,8 +12,9 @@ val abiList: List by rootProject.extra android { namespace = "com.example.library" - compileSdk = 34 + compileSdkVersion = "android-31" defaultConfig { + minSdk = 21 ndk { abiFilters.addAll(abiList) } diff --git a/module/jni/Application.mk b/module/jni/Application.mk index fc0f7c8..1db1d73 100644 --- a/module/jni/Application.mk +++ b/module/jni/Application.mk @@ -1,4 +1,4 @@ APP_ABI := armeabi-v7a arm64-v8a x86 x86_64 -APP_CPPFLAGS := -std=c++17 -fno-exceptions -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden +APP_CPPFLAGS := -std=c++20 -fno-exceptions -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden APP_STL := none -APP_PLATFORM := android-29 +APP_PLATFORM := android-31