Kmongo dependency problem in android studio.

208 views
Skip to first unread message

GloryDiv

unread,
Apr 8, 2023, 6:11:05 PM4/8/23
to kmongo
Hi,
Am I experiencing an issue in android studio kotlin project. When ever I add implementation("org.litote.kmongo:kmongo:4.8.0") to my dependency and run my kotlin project I get the  error "Invalid build configuration. Attempt to create a global synthetic for 'Record desugaring' without a global-synthetics consumer." but when I remove this dependency and rerun the code the error does not appear again. My Kotlin version is = 213-1.7.20-release-for-android-studio-AS6777.52. Immediately after performing a sync when I add the dependency am prompted in my android studio to perform a migration action.
What's Working
Only the version 4.5.0 works for me. The versions 4.6.0,4.7.0 and 4.8.0 are all not working

zigzago

unread,
Apr 11, 2023, 8:54:49 AM4/11/23
to kmongo
Hello,

Do you have the same issue with 4.9.0 ?

Regards

GloryDiv

unread,
Apr 11, 2023, 2:44:13 PM4/11/23
to kmongo
Hi, Thanks for stopping by.
I tried the version 4.9.0 but it produced a different error stating " Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable "
 Also just after performing a project sync Android studio shows a Kotlin migration warning: "
 Migrations for Kotlin code are available 
 Detected migration:  
 Standard library: 1.7.20 -> 1.8.20 "
Thanks.

zigzago

unread,
Apr 12, 2023, 2:56:20 AM4/12/23
to kmongo
Reply all
Reply to author
Forward
0 new messages