Maybe someone else had same problem as me. I’m usi...
# android
m
Maybe someone else had same problem as me. I’m using Kotlin 1.1.3, AS 2.2.3, with latest stable KT plugin. When trying to use
takeIf
or
takeUnless
or any other function marked
@SinceKotlin("1.1")
I get message
Unresolved reference: takeIf
. Although building project works without any problems. Tried: - Reinstall plugin - Invalidate Caches / Restart - Use AS 3.0 Alpha 8 (same issue) - Use 1.1.4 eap KT plugin Not really sure what to do next?
d
Are you sure you're building for api 21+?
m
Why does it matter?