pdvrieze / xmlutil

XML Serialization library for Kotlin
https://pdvrieze.github.io/xmlutil/
Apache License 2.0
363 stars 30 forks source link

Error when integrated into android (java) application #177

Closed AMBE1203 closed 10 months ago

AMBE1203 commented 10 months ago

This is error: Please suggest me how to fix it The consumer was configured to find an API of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.3.1'. However we cannot choose between the following variants of io.github.pdvrieze.xmlutil:core:0.86.1:

pdvrieze commented 10 months ago

This is a duplicate of: #89 There are solutions in that issue.

pdvrieze commented 10 months ago

In addition, I did a few tests. It seems to work for me (both a fresh android and fresh kotlin project). What versions of gradle/kotlin are you using?