Starting from version 8.0.0, my team is experiencing an error when trying to build for Android with productFlavors.
We've updated to 7.0.1, and we haven't experienced any similar problems prior to this version inclusively.
So, while having
productFlavors {
dev {
dimension "projectname"
applicationIdSuffix ".dev"
resValue "string", "app_name", "Projectname(Dev)"
}
prod {
// similar setup for prod
}
}
, we're experiencing the next error for Android builds, regardless of build mode:
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDevDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:devDebugCompileClasspath'.
> Could not resolve project :flutter_secure_storage.
Required by:
project :app
> No matching configuration of project :flutter_secure_storage was found.
The consumer was configured to find an API of a component,
as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug',
attribute 'projectname' with value 'dev',
attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
I'm curious, what changes starting from version 8.0.0 could cause the issue. Any feedback will be appreciated.
Starting from version
8.0.0
, my team is experiencing an error when trying to build for Android withproductFlavors
.We've updated to
7.0.1
, and we haven't experienced any similar problems prior to this version inclusively.So, while having
, we're experiencing the next error for Android builds, regardless of build mode:
I'm curious, what changes starting from version
8.0.0
could cause the issue. Any feedback will be appreciated.