Android Studio 3.1 Cannot Resolve Symbol (Themes, Widget, attr, etc.)

前端 未结 16 1942
梦如初夏
梦如初夏 2020-11-29 01:21

I upgraded Android Studio today to 3.1, and now Android Studio says it cannot resolve symbols for most of the resources (for example ThemeOverlay in style

相关标签:
16条回答
  • 2020-11-29 01:46

    Close and reopen project as existing Android Studio project

    0 讨论(0)
  • 2020-11-29 01:47

    After upgrading Android Studio, you can invalidate cache and restart.

    File > Invalidate Caches / Restart…

    0 讨论(0)
  • 2020-11-29 01:49

    I closed and reopened project as existing Android Studio project (did not import it), and it worked! Thanks to Andrew Glukhoff 's comment.

    0 讨论(0)
  • 2020-11-29 01:50

    Closing a project and then opening as existing one does wonders!

    0 讨论(0)
  • 2020-11-29 01:51

    Close the project and import it again. Worked for me today.

    import project

    0 讨论(0)
  • 2020-11-29 01:53

    You can try to close the project and exit Android Studio (only closing and reimporting it didn't do it for me). Launch Android Studio and open the project again. That worked for me!

    0 讨论(0)
提交回复
热议问题