Skip to content

Conversation

Hassnaa9
Copy link

@Hassnaa9 Hassnaa9 commented Aug 1, 2025

Fixes #12248

This pull request updates the Launch a flavor section of the Android flavors documentation to correct the command for building a specific flavor.

Preview:
https://flutter-docs-prod--pr12257-fix-android-flavors-command-rj9gzarb.web.app/deployment/flavors

The Problem:
The current documentation at src/content/deployment/flavors.md incorrectly states that the flutter build command can be used with only the --flavor flag. As of recent Flutter updates, this syntax is invalid and results in an error... (and so on)

@Hassnaa9 Hassnaa9 requested review from sfshaza2, parlough, jmagman and a team as code owners August 1, 2025 09:03
@Hassnaa9
Copy link
Author

@Sfshaza @parlough @jmagman can you review this pr , thanks !

@parlough
Copy link
Member

/gcbrun

@flutter-website-bot
Copy link
Collaborator

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

https://flutter-docs-prod--pr12257-fix-android-flavors-command-rj9gzarb.web.app

@parlough
Copy link
Member

parlough commented Aug 29, 2025

Sorry about the delay on reviewing this @Hassnaa9! Thanks again for this fix :)

@antfitch Since you recently overhauled this doc, would you be able to review this PR? Thanks :>

@parlough parlough requested a review from antfitch August 29, 2025 01:16
@antfitch antfitch requested a review from reidbaker August 29, 2025 20:41
@antfitch
Copy link
Contributor

@reidbaker, can you please review this? It looks like there has been a technical change and the command we are using in the original documentation for Android Flavors no longer works as expected.

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.

flutter build --flavor does not work
4 participants