Update the android version for SDL3-3.4.18

Also change minSdkVersion to 28 and enable WRITE_EXTERNAL_STORAGE
permission in AndroidManifest.xml, so the build works for Android 9.
This commit is contained in:
宋文武 authored and Ethan Lee committed 2026-10-15 07:55:18 -04:00
1 parent 600d87fe4b
commit 26e3205b8a
6 files changed
+9 -18

No files matched your search

@@ -12,7 +12,7 @@ android {
}
compileSdkVersion 34
defaultConfig {
minSdkVersion 29
minSdkVersion 28
targetSdkVersion 34
versionCode 20005000
versionName "2.5"
@@ -110,5 +110,5 @@ dependencies {
implementation 'org.jetbrains:annotations:15.0'
implementation 'androidx.core:core:1.10.1'
implementation 'androidx.exifinterface:exifinterface:1.3.6'
implementation 'org.libsdl.android:SDL2:2.30.8'
implementation files('libs/SDL3-3.4.18.aar')
}
Whitespace-only changes.
@@ -37,8 +37,8 @@
android:name="android.hardware.microphone"
android:required="false" /> -->
<!-- Allow downloading to the external storage on Android 5.1 and older -->
<!-- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="22" /> -->
<!-- Allow downloading to the external storage on Android 9 and older -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="28" />
<!-- Allow access to Bluetooth devices -->
<!-- Currently this is just for Steam Controller support and requires setting SDL_HINT_JOYSTICK_HIDAPI_STEAM -->
@@ -6,7 +6,7 @@ public class VVVVVV extends SDLActivity {
@Override
protected String[] getLibraries() {
return new String[] {
"SDL2",
"SDL3",
"VVVVVV"
};
}