Skip to content

Add Docs Warning Plugins are not supported in AGP 9#13015

Merged
jesswrd merged 5 commits into
flutter:mainfrom
jesswrd:agp-9-docs-update
Feb 3, 2026
Merged

Add Docs Warning Plugins are not supported in AGP 9#13015
jesswrd merged 5 commits into
flutter:mainfrom
jesswrd:agp-9-docs-update

Conversation

@jesswrd

@jesswrd jesswrd commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

A external package maintainer found that plugins are currently not supported in AGP 9. Added a warning in the migration doc.

Related to flutter/flutter#181383

Presubmit checklist

  • If you are unwilling, or unable, to sign the CLA, even for a tiny, one-word PR, please file an issue instead of a PR.
  • If this PR is not meant to land until a future stable release, mark it as draft with an explanation.
  • This PR follows the Google Developer Documentation Style Guidelines—for example, it doesn't use i.e. or e.g., and it avoids I and we (first-person pronouns).
  • This PR uses semantic line breaks
    of 80 characters or fewer.

@jesswrd jesswrd requested review from a team and sfshaza2 as code owners February 2, 2026 21:45
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @jesswrd, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the migrate-to-agp-9.md documentation to inform users about the current lack of support for Flutter apps utilizing plugins when migrating to Android Gradle Plugin 9. It clarifies the ongoing efforts by the Flutter team to ensure backward compatibility and outlines the future steps for achieving full plugin support and streamlining the migration process.

Highlights

  • AGP 9 Plugin Incompatibility Warning: A new warning block has been added to the migrate-to-agp-9.md documentation, informing users that Flutter apps using plugins are currently incompatible with AGP 9, referencing Issue #181383.
  • Updated "Next Steps" Section: The "Timeline" section has been renamed to "Next Steps" and now details the plan for achieving full plugin support on AGP 9 and the eventual removal of the android.newDsl=false Gradle property.
  • Issue Reference Added: Issue #181383 (Flutter plugins should support AGP 9.0.0) has been added to the "References" section, and Issue #179914 has been removed.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • src/content/release/breaking-changes/migrate-to-agp-9.md
    • Introduced a warning block highlighting the current incompatibility of Flutter apps with plugins and AGP 9, linking to Issue #181383.
    • Renamed the "Timeline" section to "Next Steps" and updated its content to describe the roadmap for full plugin support on AGP 9 and the removal of the android.newDsl=false property.
    • Added a reference link for Issue #181383 to the "References" section.
    • Removed the reference link for Issue #179914.
Activity
  • The pull request was opened by jesswrd.
  • It addresses an incompatibility issue with AGP 9 and Flutter plugins, initially reported by an external package maintainer.
  • The changes are related to https://github.com/flutter/flutter/issues/181383.
  • The author included a standard presubmit checklist in the PR description.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the migration documentation for AGP 9 to warn users that plugins are not yet supported. The changes are clear and helpful. I've provided a couple of suggestions to improve the wording for better clarity and consistency, in line with the Google Developer Documentation Style Guidelines mentioned in the PR description.

Comment thread src/content/release/breaking-changes/migrate-to-agp-9.md Outdated
Comment thread src/content/release/breaking-changes/migrate-to-agp-9.md Outdated
@jesswrd jesswrd changed the title Add Warning Plugins are not supported in AGP 9 Add Docs Warning Plugins are not supported in AGP 9 Feb 2, 2026
@flutter-website-bot

flutter-website-bot commented Feb 2, 2026

Copy link
Copy Markdown
Collaborator

jesswrd and others added 2 commits February 2, 2026 13:54
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

@sfshaza2 sfshaza2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment thread src/content/release/breaking-changes/migrate-to-agp-9.md Outdated
@jesswrd jesswrd merged commit 67dbb9d into flutter:main Feb 3, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants