fix(android): bump compileSdkVersion 33 -> 37 - #76
Open
omaraalqarni wants to merge 1 commit into
Open
omaraalqarni wants to merge 1 commit into
omaraalqarni wants to merge 1 commit into
Conversation
Several transitive androidx dependencies (androidx.fragment:1.7.1, androidx.lifecycle:*:2.7.0, androidx.core:*:1.13.1) declare an AAR-metadata floor requiring the consuming module to compile against API 34+. moyasar's compileSdkVersion 33 fails AGP 9's :moyasar:checkDebugAarMetadata check against that floor regardless of the consuming app's own compileSdk. compileSdk is compile-time only and does not change runtime behaviour; minSdk/targetSdk are untouched. Verified end to end: flutter build apk --debug succeeds with this change alone.
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.
Several transitive AndroidX dependencies (
androidx.fragment:1.7.1,androidx.lifecycle:*:2.7.0,androidx.core:*:1.13.1) now require the consuming module to compile against API 34+. WithcompileSdkVersion 33, AGP 9's:moyasar:checkDebugAarMetadatacheck fails for any app consuming this plugin, regardless of the app's own compileSdk.This raises it to 37 (current stable).
compileSdkis compile-time only — no change to runtime behavior,minSdk, ortargetSdk.Verified with
flutter build apk --debugagainst a real app; build fails without this change, succeeds with it.