Не удалось собрать проект Android. Используется сторонний проект библиотеки Android ищет вариант. Есть какое-то решение для этого?
Unable to find a matching variant of project :XYZLib:
- Variant 'debugApiElements':
- Required branding 'ABC' but no value provided.
- Required com.android.build.api.attributes.BuildTypeAttr 'uat' and found incompatible value 'debug'.
- Found com.android.build.api.attributes.VariantAttr 'debug' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api'.
- Variant 'debugRuntimeElements':
- Required branding 'ABC' but no value provided.
- Required com.android.build.api.attributes.BuildTypeAttr 'uat' and found incompatible value 'debug'.
- Found com.android.build.api.attributes.VariantAttr 'debug' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
- Variant 'releaseApiElements':
- Required branding 'ABC' but no value provided.
- Required com.android.build.api.attributes.BuildTypeAttr 'uat' and found incompatible value 'release'.
- Found com.android.build.api.attributes.VariantAttr 'release' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api'.
- Variant 'releaseRuntimeElements':
- Required branding 'ABC' but no value provided.
- Required com.android.build.api.attributes.BuildTypeAttr 'uat' and found incompatible value 'release'.
- Found com.android.build.api.attributes.VariantAttr 'release' but wasn't required.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
- Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.