flutter / flutter/devtools

App size is not able to calculate

未关闭
#8,302 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
P2 screen: app size
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

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

贡献指南

打开贡献指南

调研方向

运行 `flutter build apk --analyze-size --target-platform=android-arm64`,并在 DevTools 应用的应用分析流程中检查 `build/flutter_size_04/snapshot.arm64-v8a.json` 和 `trace.arm64-v8a.json`。确认报告的不支持文件错误,并确定分析器接受的输出格式;当生成的大小分析输出可以成功上传时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, flutter
领域
devtools, performance
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。