Hello! I am new to Kotlin Toolchain and I am tryin...
# kotlin-toolchain
d
Hello! I am new to Kotlin Toolchain and I am trying it with a new project that contains an Android app. I am having issues with a dependency that uses "play-services-nearby". The build is failing while executing
CheckAarMetadataWorkAction
and claims:
Dependency 'localModule.m2.cache/com/google/android/gms/play services nearby/19.4.0/play services nearby 19.4.0.aarunspecified' requires core library desugaring to be enabled
for appandroidApp
I created a ticket but if anyone knows how to help me here, I will be very glad! 😛
j
Thanks for the report! And sorry you're facing this as a first impression 😔 I haven't seen this problem before. @alexey.barsov do you know if there is any way to work around it? In any case, opening that issue is the fastest way to get a fix, so thank you!
❤️ 1
a
This is not supported in Kotlin Toolchain and there is no workaround known to me, I will have a look at this.
❤️ 1
j
Ah, I just realized it's not a DR issue, but something afterwards in AGP processing. We'll indeed likely need a new config option for the desugaring. Thanks Alexey for looking into this!
a
@Didier Villevalois desugaring support is ready (available in the dev build
0.14.0-dev-4598
), let me know please if that solves your issue.
🙌🏾 1
d
@Alexey Barsov indeed, I just tried the new dev version and it works like a charm! Thanks a lot!
🆒 3