Skip to content

Instantly share code, notes, and snippets.

@Aroueterra
Created January 26, 2021 10:51
Show Gist options
  • Save Aroueterra/d0ae67cea899914ccbfcdc545b9832ef to your computer and use it in GitHub Desktop.
Save Aroueterra/d0ae67cea899914ccbfcdc545b9832ef to your computer and use it in GitHub Desktop.
without variant
Could not determine the dependencies of task ':app:compileSplitsJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:splitsCompileClasspath'.
> 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 an API 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 declares an API 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 '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 declares an API 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')
- 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