flutter / flutter/devtools

App size is not able to calculate

Open
#8,302 1 comment 0 reactions 0 assignees View on GitHub
P2 screen: app size
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

Flutter doctor output :
[✓] Flutter (Channel stable, 3.22.2, on macOS 13.3 22E252 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[!] Xcode - develop for iOS and macOS (Xcode 14.3)
! Flutter recommends a minimum Xcode version of 15.
Download the latest version or update via the Mac App Store.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] Connected device (3 available)
[✓] Network resources

When I am running command flutter build apk --analyze-size --target-platform=android-arm64
![Screenshot 2024-09-05 at 5 35 11 PM](https://github.com/user-attachments/assets/5d5a5efb-b485-41f5-b08b-783f5d0808dd)

and trying to upload output from build/flutter_size_04/snapshot.arm64-v8a.json or trace.arm64-v8a.json on dev tools app analyse it is throwing error that file is not supported.Kindly check this

Contributor guide

Open the contributing guide

Research direction

Run `flutter build apk --analyze-size --target-platform=android-arm64` and inspect `build/flutter_size_04/snapshot.arm64-v8a.json` and `trace.arm64-v8a.json` in the DevTools app's app analysis flow. Confirm the reported unsupported-file error and determine what output format the analyzer accepts; done means the generated size-analysis output can be uploaded successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
devtools, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.