Skip to content

Instantly share code, notes, and snippets.

@Aroueterra
Created January 27, 2021 13:11
Show Gist options
  • Save Aroueterra/ea83f38fc7330aa407ba5c84b548926e to your computer and use it in GitHub Desktop.
Save Aroueterra/ea83f38fc7330aa407ba5c84b548926e to your computer and use it in GitHub Desktop.
mergeSplitAssets
Could not determine the dependencies of task ':app:mergeSplitsAssets'.
> Could not resolve all task dependencies for configuration ':app:splitsRuntimeClasspath'.
> Could not resolve project :opencv-lib.
Required by:
project :app
> No matching variant of project :opencv-lib was found. The consumer was configured to find a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'splits', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- Variant 'debugApiElements' capability Notable_OPENCV:opencv-lib:unspecified:
- Incompatible because this component declares an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' and the consumer needed a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'splits'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
- Variant 'debugRuntimeElements' capability Notable_OPENCV:opencv-lib:unspecified declares a runtime of a component:
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'splits'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
- Variant 'releaseApiElements' capability Notable_OPENCV:opencv-lib:unspecified:
- Incompatible because this component declares an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release' and the consumer needed a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'splits'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
- Variant 'releaseRuntimeElements' capability Notable_OPENCV:opencv-lib:unspecified declares a runtime of a component:
- 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 'splits'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment