Skip to content

Flutter tools --analyze-size command prints the wrong output to CLI #158211

@kenzieschmoll

Description

@kenzieschmoll

Example output after running: flutter build apk --analyze-size --target-platform=android-arm64
Screenshot 2024-11-05 at 2 31 04 PM

Then running dart devtools --appSizeBase=apk-code-size-analysis_03.json as the CLI output instructs does not work as expected. The command has the wrong file path, and so this results in an error:

No JSON file available at /Users/kenzieschmoll/develop/test_apps/fresh_app_nov_2024/apk-code-size-analysis_03.json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listfound in release: 3.24Found to occur in 3.24found in release: 3.27Found to occur in 3.27has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions