Reputation: 1833
I just updated my Android Studio to latest 3.3 version, and every time I click on R.layout.some_layout
in Kotlin classes the studio opens the R.java
file instead of the xml file like it was before this update.
In Java files it works as excepted.
Any ideas?
Upvotes: 2
Views: 165
Reputation: 1833
After I updated the Kotlin version to 1.3 and the gradle to 4.10.1 this issue was solved for me.
Upvotes: 1
Reputation: 2789
In your Android Studio, try this:
Select File
, click on Invalidate Caches/Restart
. Select Invalidate and Restart
from the window.
This should clear out all of the previous id resources that were cached in your IDE.
Upvotes: 0