https://kotlinlang.org logo
Title
u

user

06/20/2022, 6:51 PM
Android Studio cannot find R (Resources) after Java to Kotlin conversion Problem Every time I paste a Java code from somewhere, I select yest to the Android Studio prompt asking to convert it from Java to Kotlin. But after that happens, I seem to have all my previously working R based resources like R.drawable and R.string as unresolved.

https://i.stack.imgur.com/ioTQ3.png

What have I tried so far ? Every time this happens, I copy the converted code and then Ctrl+Z up to a point where everything is back to being resolved...