-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Project - Failed to resolve: io.github.pdvrieze.xmlutil:core-base:0.90.0-RC3 #214
Comments
I've managed to reproduce it. I'll be removing the hijinks with packages. Instead the JVM/Android specific code will not be included automatically by depending on core (but will be included for serialization). |
It still persists on 0.90.0
|
Can you share some of your configuration. It should be permissible for the jvm variant to resolve against Android (it will work). |
Here is the build log: https://github.com/FooIbar/EhViewer/actions/runs/9498750818/job/26178131607 |
Same error happened in this project: |
Just a curious qustion, why do you create an jvm target named android manually instead using the |
@hfhbd The reason is that this is not build against the Android SDK (creating an AAR), but it is actually just a regular Jar that is optimized for use in Android. I actually found the cause, there is an explicit dependency on the now no longer existing android variant of core. It should be fixed soon (0.90.1) |
…onger exists. Causes build issue for android projects: #214.
How soon will it release? |
I am releasing it now, it should be soon. |
Have this in my build.gradle and it works fine:
implementation("io.github.pdvrieze.xmlutil:core-android:0.86.3") implementation("io.github.pdvrieze.xmlutil:serialization-android:0.86.3")
But updating it to:
implementation("io.github.pdvrieze.xmlutil:core-android:0.90.0-RC3") implementation("io.github.pdvrieze.xmlutil:serialization-android:0.90.0-RC3")
Gives me:
Failed to resolve: io.github.pdvrieze.xmlutil:core-base:0.90.0-RC3
More details shows:
`No matching variant of io.github.pdvrieze.xmlutil:core-base:0.90.0-RC3 was found. The consumer was configured to find a library for use during compile-time, preferably optimized for Android, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.4.1' but:
The text was updated successfully, but these errors were encountered: