-
Notifications
You must be signed in to change notification settings - Fork 29.7k
[Android] Support Android 34 #137191
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
[Android] Support Android 34 #137191
Conversation
gmackall
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM! Do you know if we have an issue to do the same thing for blahVersion -> blah for min and target sdks?
I don't see that in the docs. I think it's just |
Those docs also don't indicate that |
|
Also, for any of them that we decide are deprecated, we should probably update https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration to reflect |
|
Ah good intuition! I couldn't find the right docs for min but I see it now (as you linked): https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/dsl/BaseFlavor#minSdkVersion(kotlin.Int) compileSdkVersion is here: https://developer.android.com/reference/tools/gradle-api/7.0/com/android/build/api/dsl/CommonExtension#compilesdkversion I can file a bug to update that website + those two (min, target) as well |
|
I was worried this change might break older clients but it looks like minSdk as a property has been available since 4.1 https://developer.android.com/reference/tools/gradle-api/4.1/com/android/build/api/dsl/BaseFlavor#minsdk and that is as old as the dev site hosts api versions. |
|
auto label is removed for flutter/flutter/137191, due to - The status or check suite Google testing has failed. Please fix the issues identified (or deflake) before re-applying this label. |
This reverts commit 675fec8.
Reverts #137191 Initiated by: camsim99 This change reverts the following previous change: Original Description: Adds support for Android 34 in the following ways: - Bumps integration tests compile SDK versions 33 --> 34 - Bumps template compile SDK version 33 --> 34 - Also changes deprecated `compileSdkVersion` to `compileSdk` Part of #134220
Fixes deprecations causing unexpected standard error integration test failures: #138061, #138063, #138067, #138077. Note that the issue this fixes was the same that was the cause for reverting #137191. I made this same fix in #137967 and changed `Mac_android run_release_test` to run in presubmit to see a successful run for proof that this fix works.
Adds support for Android 34 in the following ways:
compileSdkVersiontocompileSdkPart of #134220
Pre-launch Checklist
///).