Android Studio unresolved reference. Project compiles

前端 未结 4 1085
没有蜡笔的小新
没有蜡笔的小新 2021-01-07 23:31

After upgrading Android Studio, a project with no issues started showing issues in the editor. I have lots of Unresolved Reference errors. Anything under the su

4条回答
  •  耶瑟儿~
    2021-01-08 00:07

    I agree with Stanislav Mukhametshin that may be it is related with new AndroidX libraries and migration on it. I had cleaned and rebuilt project but that didn't work. So, I tried this way and error goes away.

    1) Go to File and close project.

    2) Reopen the same project.

提交回复
热议问题