-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Closed
Copy link
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: releaseChallenges faced when attempting to productionize an appChallenges faced when attempting to productionize an appfound in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.7Found to occur in 3.7Found to occur in 3.7has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiont: gradle"flutter build" and "flutter run" on Android"flutter build" and "flutter run" on AndroidtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
I was having trouble building a flutter app with 2 flavor dimensions and 2 flavors for each dimension (total of 4 variants,
excluding the debug and release modes).
here's a minimal flutter app repo: https://github.com/brightknight08/flutter_build_appbundle_error to reproduce
when I do flutter build appbundle --release --flavor signedprod, it would display
Gradle build failed to produce an .aab file. It's likely that this file was generated under
E:\lab\flutter_build_appbundle_error\build, but the tool couldn't find it.
flutter doctor -v
PS E:\lab\flutter_build_appbundle_error> flutter doctor -v
[✓] Flutter (Channel stable, 1.20.2, on Microsoft Windows [Version 10.0.19041.450], locale en-US)
• Flutter version 1.20.2 at C:\flutter
• Framework revision bbfbf1770c (3 weeks ago), 2020-08-13 08:33:09 -0700
• Engine revision 9d5b21729f
• Dart version 2.9.1
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at E:\asdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = E:\asdk
• Java binary at: E:\as\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[✓] Android Studio (version 4.0)
• Android Studio at E:\as
• Flutter plugin version 48.1.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[✓] VS Code (version 1.48.2)
• VS Code at C:\Users\tim_m\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.14.0
[✓] Connected device (1 available)
• P[redacted]...droid-arm64 • Android 10 (API 29)
• No issues found!
PS E:\lab\flutter_build_appbundle_error>
mchudy, lukaszgarstecki, Albert221, mateuszwojtczak, strtomek and 12 more
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: releaseChallenges faced when attempting to productionize an appChallenges faced when attempting to productionize an appfound in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.7Found to occur in 3.7Found to occur in 3.7has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiont: gradle"flutter build" and "flutter run" on Android"flutter build" and "flutter run" on AndroidtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.