FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not resolve project :flutter_appcenter_bundle.
Required by:
project :app
> 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 'org.jetbrains.kotlin.platform.type' with value 'androidJvm'. However we cannot choose between the following variants of project :flutter_appcenter_bundle:
- appCenterDebugAndroidTestCompile
- appCenterDebugAndroidTestRuntime
- appCenterDebugApiElements
- appCenterDebugRuntime
- appCenterDebugRuntimeElements
- appCenterDebugUnitTestCompile
- appCenterDebugUnitTestRuntime
- appCenterProfileRuntime
- appCenterProfileUnitTestCompile
- appCenterProfileUnitTestRuntime
- appCenterReleaseRuntime
- appCenterReleaseUnitTestCompile
- appCenterReleaseUnitTestRuntime
- googlePlayDebugAndroidTestCompile
- googlePlayDebugAndroidTestRuntime
- googlePlayDebugApiElements
- googlePlayDebugRuntime
- googlePlayDebugRuntimeElements
- googlePlayDebugUnitTestCompile
- googlePlayDebugUnitTestRuntime
- googlePlayProfileRuntime
- googlePlayProfileUnitTestCompile
- googlePlayProfileUnitTestRuntime
- googlePlayReleaseRuntime
- googlePlayReleaseUnitTestCompile
- googlePlayReleaseUnitTestRuntime
All of them match the consumer attributes:
- Variant 'appCenterDebugAndroidTestCompile' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'appCenterDebugAndroidTestRuntime' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'appCenterDebugApiElements' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Provides attribute 'com.android.build.api.attributes.VariantAttr' with value 'appCenterDebug' but the consumer didn't ask for it
- Provides attribute 'distribute' with value 'appCenter' but the consumer didn't ask for it
- Variant 'appCenterDebugRuntime' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'appCenterDebugRuntimeElements' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Provides attribute 'com.android.build.api.attributes.VariantAttr' with value 'appCenterDebug' but the consumer didn't ask for it
- Provides attribute 'distribute' with value 'appCenter' but the consumer didn't ask for it
- Variant 'appCenterDebugUnitTestCompile' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'appCenterDebugUnitTestRuntime' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'appCenterProfileRuntime' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'appCenterProfileUnitTestCompile' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'appCenterProfileUnitTestRuntime' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'appCenterReleaseRuntime' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'appCenterReleaseUnitTestCompile' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'appCenterReleaseUnitTestRuntime' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'googlePlayDebugAndroidTestCompile' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'googlePlayDebugAndroidTestRuntime' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'googlePlayDebugApiElements' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Provides attribute 'com.android.build.api.attributes.VariantAttr' with value 'googlePlayDebug' but the consumer didn't ask for it
- Provides attribute 'distribute' with value 'googlePlay' but the consumer didn't ask for it
- Variant 'googlePlayDebugRuntime' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'googlePlayDebugRuntimeElements' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Provides attribute 'com.android.build.api.attributes.VariantAttr' with value 'googlePlayDebug' but the consumer didn't ask for it
- Provides attribute 'distribute' with value 'googlePlay' but the consumer didn't ask for it
- Variant 'googlePlayDebugUnitTestCompile' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'googlePlayDebugUnitTestRuntime' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'googlePlayProfileRuntime' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'googlePlayProfileUnitTestCompile' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'googlePlayProfileUnitTestRuntime' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'googlePlayReleaseRuntime' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'googlePlayReleaseUnitTestCompile' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
- Variant 'googlePlayReleaseUnitTestRuntime' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Unmatched attributes:
- Doesn't say anything about com.android.build.api.attributes.BuildTypeAttr (required 'debug')
- Doesn't say anything about its usage (required an API)
- Provides attribute 'org.jetbrains.kotlin.localToProject' with value 'local to :flutter_appcenter_bundle' but the consumer didn't ask for it
The following variants were also considered but didn't match the requested attributes:
- Variant 'appCenterProfileApiElements' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug'
- Variant 'appCenterProfileRuntimeElements' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a runtime of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug'
- Variant 'appCenterReleaseApiElements' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug'
- Variant 'appCenterReleaseRuntimeElements' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a runtime of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug'
- Variant 'googlePlayProfileApiElements' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug'
- Variant 'googlePlayProfileRuntimeElements' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a runtime of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug'
- Variant 'googlePlayReleaseApiElements' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug'
- Variant 'googlePlayReleaseRuntimeElements' capability com.github.hanabi1224.flutter_appcenter_bundle:flutter_appcenter_bundle:1.0-SNAPSHOT declares a runtime of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm':
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug'
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
Running Gradle task 'assembleDebug'... 3.0s
Exception: Gradle task assembleDebug failed with exit code 1
App was running fine before upgrading the flutter version
Flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.4, on macOS 12.2.1 21D62 darwin-arm, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.65.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
• No issues found!
App was running fine before upgrading the flutter version