-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
a: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Steps to Reproduce
- Create a new Flutter module project: flutter create --androidx -t module -a kotlin -i swift project_name
- Add an additional build type to the build types of the host app, e.g. staging
- Try to do a gradle sync or a build
You will receive the following error:
ERROR: Unable to resolve dependency for ':app@staging/compileClasspath': Could not resolve project :flutter.
Show Details
Affected Modules: app
The root cause here is that the flutter jar is only being added as a dependency on a fixed set of build types.
Metadata
Metadata
Assignees
Labels
a: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.