Error while doing Flutter --analyze-size
I am trying to run the --analyze-size
command by running the following
% flutter build apk --analyze-size
But I am getting the following error
Cannot perform code size analysis when building for multiple ABIs.
Specify one of android-arm, android-arm64, or android-x64 in the --target-platform flag.
1 Answer
4 years ago by cody
Try mrntioning the --target-platform
like following
flutter build apk --analyze-size --target-platform=android-arm64
4 years ago by Karthik Divi