-
Notifications
You must be signed in to change notification settings - Fork 29.7k
[CP-stable] Cherry pick "Fix flutter build aar for modules that use a plugin"
#154944
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
[CP-stable] Cherry pick "Fix flutter build aar for modules that use a plugin"
#154944
Conversation
|
This pull request was opened from and to a release candidate branch. This should only be done as part of the official Flutter release process. If you are attempting to make a regular contribution to the Flutter project, please close this PR and follow the instructions at Tree Hygiene for detailed instructions on contributing to Flutter. Reviewers: Use caution before merging pull requests to release branches. Ensure the proper procedure has been followed. |
flutter build aar for modules that use a plugin"
This comment was marked as outdated.
This comment was marked as outdated.
christopherfujino
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.
LGTM
…that use a plugin" (flutter/flutter#154944)
…that use a plugin" (flutter/flutter#154944)
…that use a plugin" (flutter/flutter#154944)
…er#155044) # Flutter stable 3.24.3 Framework ## Scheduled Cherrypicks - flutter#154380 - flutter#154720 - flutter#154944
Sum of changes is:
cherry pick of #154757
Merge
manual application of of #154945
manual application of #154967
Copied form below from automatic label (this is a cherry pick of #154757).
Issue Link:
What is the link to the issue this cherry-pick is addressing?
Fixes #154371.
Changelog Description:
Explain this cherry pick in one line that is accessible to most Flutter developers. See best practices for examples
Fixes a crash when building Flutter modules for android with
flutter build aar, when using Android Gradle Plugin 8.0+.Impact Description:
What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch)
Fixes the mentioned crash when building a module as an aar with Android Gradle Plugin 8.0+.
Workaround:
Is there a workaround for this issue?
No.
Risk:
What is the risk level of this cherry-pick?
Test Coverage:
Are you confident that your fix is well-tested by automated tests?
Validation Steps:
What are the steps to validate that this fix works?
Build a module:
flutter create foobar --template=modulecd foobar.android/build.gradleto use AGP 8.1.flutter run/flutter build aarPre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.