Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old android API 19 into build.gradle #12089

Closed
daywithstars opened this issue Jan 25, 2025 · 0 comments
Closed

Old android API 19 into build.gradle #12089

daywithstars opened this issue Jan 25, 2025 · 0 comments

Comments

@daywithstars
Copy link

Error: "SDL3-3.2.0/game-test/app/jni/Android.mk: Android NDK: android-19 is unsupported. Using minimum supported version android-21."

Because of these lines in the: SDL3-3.2.0/android-project/app/build.gradle

android {
namespace "org.libsdl.app"
compileSdkVersion 35
defaultConfig {
minSdkVersion 21
targetSdkVersion 35
versionCode 1
versionName "1.0"
externalNativeBuild {
ndkBuild {
arguments "APP_PLATFORM=android-19"
// abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
abiFilters 'arm64-v8a'
}
cmake {
arguments "-DANDROID_PLATFORM=android-19", "-DANDROID_STL=c++_static"
// abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
abiFilters 'arm64-v8a'
}
}
}

The line that's: arguments "-DANDROID_PLATFORM=android-19" is setting to use the old API 19.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant