alexzhirkevich / qrose

Styled QR & Barcode generation library for Compose Multiplatform and Jetpack Compose
MIT License
236 stars 4 forks source link

Error when upgrading to version 1.0.0 #5

Closed ravenfeld closed 3 months ago

ravenfeld commented 3 months ago

Hello, I was on the 1.0.0-beta3 version and I wanted to upgrade to the 1.0.0 version. But I got the following error.

It may have come from me, if I put back the 1.0.0-beta3 version. No problem

Duplicate class io.github.alexzhirkevich.qrose.CachedPainter found in modules qrose-core-release-runtime (io.github.alexzhirkevich:qrose-core-android:1.0.0) and qrose-release-runtime (io.github.alexzhirkevich:qrose-android:1.0.0)
Duplicate class io.github.alexzhirkevich.qrose.CachedPainter$block$1 found in modules qrose-core-release-runtime (io.github.alexzhirkevich:qrose-core-android:1.0.0) and qrose-release-runtime (io.github.alexzhirkevich:qrose-android:1.0.0)
Duplicate class io.github.alexzhirkevich.qrose.ConvertersKt found in modules qrose-core-release-runtime (io.github.alexzhirkevich:qrose-core-android:1.0.0) and qrose-release-runtime (io.github.alexzhirkevich:qrose-android:1.0.0)
Duplicate class io.github.alexzhirkevich.qrose.DrawCache found in modules qrose-core-release-runtime (io.github.alexzhirkevich:qrose-core-android:1.0.0) and qrose-release-runtime (io.github.alexzhirkevich:qrose-android:1.0.0)
Duplicate class io.github.alexzhirkevich.qrose.ToByteArrayKt found in modules qrose-core-release-runtime (io.github.alexzhirkevich:qrose-core-android:1.0.0) and qrose-release-runtime (io.github.alexzhirkevich:qrose-android:1.0.0)
alexzhirkevich commented 3 months ago

should be fixed in 1.0.1

idrisalshikh commented 3 weeks ago

I encountered this error because I used the version specified in the README file, which is still 1.0.0. It would be helpful if you could update the README file to prevent others from facing the same issue.