add the community_charts_flutter to your flutter project . in my case I use 1.0.4 version
run this command to analyze the app size
flutter build apk --target-platform=android-arm --analyze-size
i try to remove the package from my pubspec.yaml file,
flutter clean and then flutter pub get
run again flutter build apk --target-platform=android-arm --analyze-size
success analyzing apk and got the result of the package size.
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.1, on macOS 13.0.1 22A400 darwin-arm64, locale en-ID)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[!] Xcode - develop for iOS and macOS (Xcode 14.1)
! 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 2021.3)
[✓] VS Code (version 1.90.0)
[✓] Connected device (4 available)
[✓] Network resources
! Doctor found issues in 1 category.
After add the
community_charts_flutter
to my project, I cant analyze the apk size.run this command:
and got this error:
how to reporoduce:
community_charts_flutter
to your flutter project . in my case I use1.0.4
versionflutter build apk --target-platform=android-arm --analyze-size
i try to remove the package from my
pubspec.yaml
file,flutter clean
and thenflutter pub get
flutter build apk --target-platform=android-arm --analyze-size
success analyzing apk and got the result of the package size.flutter doctor