https://kotlinlang.org logo
#android
Title
# android
a

Anurag Yadav

11/07/2023, 2:34 PM
Hey Folks, Good morning. I am doing migration of My Android Project from OLD Kotlin version to the latest one, i download Android Studio Giraffe and update the gradle to use the latest libs. i am getting
Copy code
incompatible types: NonExistentClass cannot be converted to Annotation @error.NonExistentClass erorr in few my classes.
is it something related to JDK? appreciated for any help
r

Robert Williams

11/07/2023, 4:33 PM
Potentially completely unrelated but I recently got exactly this error when disabling jetifier because of missing dependencies on androidx.annotations
I'd say go to the file which has errors, check all the annotations it's importing and make sure they're included in the gradle dependencies for the module