-
Notifications
You must be signed in to change notification settings - Fork 8
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
IncompatibleClassChangeError When updating from 1.0 to 1.1 beta2 #44
Comments
Get the same error for a fresh install (no existing encrypted datastores). LMK if there's more info I can provide. Thanks |
Thank you for the report! I can't reproduce this crash, so could you please provide output of these Gradle tasks? ./gradlew -q :app:dependencies --configuration releaseRuntimeClasspath
./gradlew -q :app:dependencyInsight --configuration releaseRuntimeClasspath --dependency io.github.osipxd:security-crypto-datastore-preferences * Remember to replace ':app' with your module name For the first task, it will be enough to provide only the part related to
|
My guess is you've declared different versions for these two dependencies: implementation("io.github.osipxd:security-crypto-datastore:1.1.1-beta02")
implementation("io.github.osipxd:security-crypto-datastore-preferences:1.0.0") I'll add versions alignment (#45) to prevent such mistakes in future. Nice catch! |
I'm only defining dependency for
The gradle dependencies outputs
Produces.
Produces...
|
Oh, it's weird then. The only explanation I see is when According to yours dependencies report, |
Agreed it's strange. I'll jump on and test the new release when available. Thanks! |
@scottyab, just published v1.1.1-beta03 |
@scottyab, just a gentle reminder. Have you been able to check if the issue persists in beta03? |
Thanks @osipxd moving to beta03 seems to avoid the |
Great news! Closing this issue |
Thanks for the great library 馃憤 . I was looking to upgrade Datastore to 1.1.1 and saw there's a breaking change. So updated encrypted-datastore to 1.1 beta 2 but seeing the below error when attempting to read an existing encrypted datastore (created in v1.0)
The text was updated successfully, but these errors were encountered: