tommybuonomo / dotsindicator

Three material Dots Indicators for view pagers in Android !
Apache License 2.0
3.49k stars 356 forks source link

Some incompatible attributes #165

Closed abalta closed 2 days ago

abalta commented 1 year ago

I have used your library many of my projects. But I don't understands whats happening in this project? There are some build log here:

Execution failed for task ':app:desugarPrepFileDependencies'.

Could not resolve all files for configuration ':app:prepRuntimeClasspath'. Could not resolve com.tbuonomo:dotsindicator:4.3. Required by: project :app No matching variant of com.tbuonomo:dotsindicator:4.3 was found. The consumer was configured to find a runtime of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'prep', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.4.1', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:

  • Variant 'debugVariantMavenApiPublication' capability com.tbuonomo:dotsindicator:4.3:
  • 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 'prep'
  • Other compatible attributes:
  • Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.4.1')
  • Doesn't say anything about its target Java environment (preferred optimized for Android)
  • Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
  • Variant 'debugVariantMavenJavaDocPublication' capability com.tbuonomo:dotsindicator:4.3 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 'prep'
  • Other compatible attributes:
  • Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.4.1')
  • Doesn't say anything about its target Java environment (preferred optimized for Android)
  • Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
  • Variant 'debugVariantMavenRuntimePublication' capability com.tbuonomo:dotsindicator:4.3 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 'prep'
  • Other compatible attributes:
  • Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.4.1')
  • Doesn't say anything about its target Java environment (preferred optimized for Android)
  • Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
  • Variant 'debugVariantMavenSourcePublication' capability com.tbuonomo:dotsindicator:4.3 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 'prep'
  • Other compatible attributes:
  • Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.4.1')
  • Doesn't say anything about its target Java environment (preferred optimized for Android)
  • Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
  • Variant 'releaseVariantMavenApiPublication' capability com.tbuonomo:dotsindicator:4.3:
  • 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 'prep'
  • Other compatible attributes:
  • Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.4.1')
  • Doesn't say anything about its target Java environment (preferred optimized for Android)
  • Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
  • Variant 'releaseVariantMavenJavaDocPublication' capability com.tbuonomo:dotsindicator:4.3 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 'prep'
  • Other compatible attributes:
  • Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.4.1')
  • Doesn't say anything about its target Java environment (preferred optimized for Android)
  • Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
  • Variant 'releaseVariantMavenRuntimePublication' capability com.tbuonomo:dotsindicator:4.3 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 'prep'
  • Other compatible attributes:
  • Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.4.1')
  • Doesn't say anything about its target Java environment (preferred optimized for Android)
  • Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
  • Variant 'releaseVariantMavenSourcePublication' capability com.tbuonomo:dotsindicator:4.3 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 'prep'
  • Other compatible attributes:
  • Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.4.1')
  • Doesn't say anything about its target Java environment (preferred optimized for Android)
  • Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
rohitPagare commented 1 year ago

got same issue.. when creating buildTypes { qa{} }

tommybuonomo commented 2 days ago

Duplicate of #192