Skip to content

Fix forward Add2app Android Setup Docs#13031

Merged
parlough merged 3 commits intoflutter:mainfrom
jesswrd:fix-forward-add2app-docs
Feb 5, 2026
Merged

Fix forward Add2app Android Setup Docs#13031
parlough merged 3 commits intoflutter:mainfrom
jesswrd:fix-forward-add2app-docs

Conversation

@jesswrd
Copy link
Contributor

@jesswrd jesswrd commented Feb 4, 2026

Fix forward of this #13023 (meant to mark it drafted but got merged right after approval. my bad). Removed repetitive instruction and ensured there are no mentions of Java 11.

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.

@gemini-code-assist
Copy link
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 focuses on refining the Android setup documentation for Flutter's Add2app feature. The changes ensure that the instructions reflect the latest requirements, specifically updating the minimum Java version and correcting the configuration for Maven repositories within the settings.gradle file. This helps users integrate Flutter modules into their Android applications more smoothly by providing accurate setup steps.

Highlights

  • Java Version Update: The required Java version for Flutter projects in the Android setup documentation has been updated from Java 11 to Java 17.
  • Maven Repository Addition: A new maven repository URL, pointing to the flutter_module_project's build outputs, has been added to the dependencyResolutionManagement block in settings.gradle.
  • Documentation Cleanup: An outdated or redundant dependencyResolutionManagement configuration block has been removed from the settings.gradle instructions.

🧠 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/add-to-app/android/project-setup.md
    • Updated the minimum required Java version from 11 to 17.
    • Added a maven repository entry for local Flutter module outputs to the dependencyResolutionManagement section.
    • Removed a previously documented dependencyResolutionManagement block that is no longer necessary or accurate.
Activity
  • The pull request is currently marked as [WIP] (Work In Progress), indicating that the author is still actively working on it.
  • The description body is empty, suggesting that the author has not yet provided a detailed explanation of the changes or their rationale.
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.

Copy link
Contributor

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

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 Android Add-to-app setup documentation. The changes include updating the required Java version to 17, adjusting the Gradle configuration example for AAR dependencies, and removing a redundant documentation block to improve clarity. The changes look good, but I've found a small inconsistency in a placeholder path that could be confusing for users. See my specific comment for details.

@flutter-website-bot
Copy link
Collaborator

flutter-website-bot commented Feb 4, 2026

Visit the preview URL for this PR (updated for commit 9357fdf):

https://flutter-docs-prod--pr13031-fix-forward-add2app-docs-iyo55syq.web.app

@jesswrd jesswrd changed the title [WIP] Fix forward Add2app Android Setup Docs Fix forward Add2app Android Setup Docs Feb 4, 2026
@jesswrd jesswrd marked this pull request as ready for review February 4, 2026 22:01
@jesswrd jesswrd requested review from a team and sfshaza2 as code owners February 4, 2026 22:01
Copy link
Member

@parlough parlough left a comment

Choose a reason for hiding this comment

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

Thanks for this followup @jesswrd!

@parlough parlough merged commit 0f81937 into flutter:main Feb 5, 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.

3 participants