Skip to content

Conversation

gbgames
Copy link
Contributor

@gbgames gbgames commented Aug 21, 2025

Description

Every August, Google Play usually requires a new targetSdk minimum. These changes are what is needed to support it in SDL2, which basically boils down to making sure the appropriate gradle version and Android Gradle Plugin version are used, then ensuring the build.gradle knows which version to target.

A minimum SDK version of 19 is no longer supported, so 21 is used instead.

NOTE: Starting in November, Google Play will require 16-kb page alignment (https://android-developers.googleblog.com/2025/05/prepare-play-apps-for-devices-with-16kb-page-size.html), but apparently that support comes along for free if you are using NDK r28c or newer, according to this revert: 6981522

@slouken
Copy link
Collaborator

slouken commented Aug 25, 2025

I believe the minimum SDK is referenced elsewhere as well. Can you check the relevant SDL3 commits to make sure everything is addressed?

@slouken slouken added this to the 2.x milestone Aug 25, 2025
@gbgames
Copy link
Contributor Author

gbgames commented Sep 8, 2025

I believe the minimum SDK is referenced elsewhere as well. Can you check the relevant SDL3 commits to make sure everything is addressed?

I found this commit:
5340f2e

But I don't see anything that isn't covered by this PR.

I did also find:
e91c37f

That commit changed some areas of the code as well to support "safe" windowing areas on Android. Is this what you were thinking of?

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

Successfully merging this pull request may close these issues.

2 participants