-
Notifications
You must be signed in to change notification settings - Fork 26.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cli fails when trying to build appbundle with multi dimension and multiple words in the flavor name #147261
Comments
This came up from a customer of Shorebird, and we had to fix handling of related cases in shorebird's code, figured flutter_tool would also want to know about such. See Erick's linked PR as to how he fixed things in Shorebird. 🤷 |
Thanks for the detailed report. A similar issue was fixed last year #65264 and was shipped in 3.13.0 stable release, but in latest versions, this is still occuring:
Works with building apk though:
stable, master flutter doctor -v
|
Steps to reproduce
1- Create a new flutter app with
flutter create
2- Modify the
android/app/build.gradle
to Include the following flavors:3- Run
flutter build appbundle --flavor stablePlayStore
4- See error
Expected results
No errors should be show since the aab file were created
Actual results
Code sample
Since this is an issue in the CLI tool, I don't have any dart code, I am pasting here though the full
build.gradle
file which I added a section of it in the steps to reproduce:Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: