Skip to content

flutter build apk --config-only prints Config complete right before the command exits, which doesn't match other commands #160801

Closed

Description

@jmagman
$ flutter build apk --config-only
Downloading android-arm-profile/darwin-x64 tools...                287ms
Downloading android-arm-release/darwin-x64 tools...                134ms
Downloading android-arm64-profile/darwin-x64 tools...              142ms
Downloading android-arm64-release/darwin-x64 tools...              132ms
Downloading android-x64-profile/darwin-x64 tools...                125ms
Downloading android-x64-release/darwin-x64 tools...                123ms

Config complete.

The "Config complete." part is a but odd, since the tool doesn't announce other commands are "complete", including flutter build ios --config-only or flutter build macos --config-only

This is a really tiny nit, and this command isn't used by most flutter devs.

Suggest removing this log line:

_logger.printStatus('Config complete.');

Will have to detect another way that the config-only logic stopped there:
expect(result.stdout, contains(RegExp(r'Config complete')));

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    P3Issues that are less important to the Flutter project
    team-androidOwned by Android platform team
    on Dec 23, 2024
  2. self-assigned this
    on Feb 3, 2026
  3. added a commit that references this issue on Feb 4, 2026
    6583eac
  4. added a commit that references this issue on Feb 6, 2026
    78e69af
  5. added a commit that references this issue on Feb 10, 2026
    6c97a1d
  6. github-actions commented on Feb 18, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  7. locked as resolved and limited conversation to collaborators on Feb 18, 2026
  8. added a commit that references this issue on Feb 19, 2026
    89e0cb6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectteam-androidOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-androidTriaged by Android platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions