Cannot find declaration to go to after targeting sdk 33

Viewed 72

After updating the targetSdk and compileSdk from 31 to 33 I cannot go to declarations from xml layout files, from example to strings.

Cannot find declaration to go to

Invalidate cache restart and delete .idea .gradle doesn't work.

It not only not go to declarations, but also the autocomple not work when I type the string name.

1 Answers

I have the same error, and i downloaded files from android with the newest.

Android Studio Dolphin (2021.3.1) RC1 https://developer.android.com/studio/archive

with com.android.tools.build:gradle:7.2.2

https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
Related