https://kotlinlang.org logo
#announcements
Title
# announcements
e

egorand

06/24/2019, 8:22 PM
after bumping Kotlin to 1.3.40 a few modules in our Android app started failing with the following error (or similar):
Copy code
e: /.../Io.kt: (4, 26): Cannot access built-in declaration 'kotlin.annotation.AnnotationRetention'. Ensure that you have a dependency on the Kotlin standard library
it does make complete sense for those modules to have a dependency on stdlib, but I’m wondering how it worked before
z

Zach Klippenstein (he/him) [MOD]

06/24/2019, 8:36 PM
I think maybe the kotlin plugin used to add the stdlib automatically?
e

egorand

06/24/2019, 8:38 PM
yeah, that could be
found the ticket that fixed the issue https://youtrack.jetbrains.com/issue/KT-19227
3 Views