Hello everyone, I was wondering if anyone hit the ...
# android
l
Hello everyone, I was wondering if anyone hit the same problem with me after updating AGP version to 4.2.0 and Kotlin Gradle plugin to 1.5.0. It complains about “Unresolved reference: toUShort”. What is the right way to convert Integer value to UShort?
u
 and 
U
 tag unsigned literals does not seems to work for me as well. It said “Type of the constant expression cannot be resolved. Please make sure you have the required dependencies for unsigned types in the classpath”. Hope to get a hint, thanks in advance!
In AS release note, it says Android Studio 4.2 bundles Kotlin 1.4.31.
k
I'm late and hopefully you already figured this out, but I just ran into this and it was because my
kotlinOptions.apiVersion
was set for 1.4 and it needed to be set for 1.5