Fix native build: ANDROID_PLATFORM android-36 exceeds NDK r29 max (35) - #201
Merged
Conversation
… is 35) Agent-Logs-Url: https://github.com/winnerspiros/osu/sessions/4734fa6f-319f-407b-b578-11f4a6c62b9d Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
winnerspiros
April 18, 2026 23:33
View session
There was a problem hiding this comment.
Pull request overview
Updates the Android release workflow to use an NDK-supported native build API level, fixing CMake failures caused by ANDROID_PLATFORM=android-36 exceeding NDK r29’s max supported API level.
Changes:
- Set CMake
ANDROID_PLATFORMfromandroid-36toandroid-33in the GitHub Actions release workflow. - Align native build platform with the app’s
minSdkVersion(33), independent oftargetSdkVersion(36).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CMake native build step fails because
ANDROID_PLATFORM=android-36exceeds NDK r29's maximum supported API level of 35.ANDROID_PLATFORMfromandroid-36toandroid-33inrelease.yml, matchingminSdkVersionin AndroidManifest.xml. Native code doesn't use any API 34+ NDK symbols, so the minimum platform is sufficient.targetSdkVersion=36is a manifest/Java concept and doesn't constrain the native build platform.