[Android] Support Android 34#137191
Conversation
gmackall
left a comment
There was a problem hiding this comment.
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) Here's target: https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/dsl/ApplicationBaseFlavor#targetsdkversion 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
///).