Why does Android Studio highlight “Theme” red in styles.xml?

后端 未结 5 899
臣服心动
臣服心动 2021-01-13 02:55

Red highlight means Cannot resolve symbol \'Theme\'

\"enter

<

5条回答
  •  自闭症患者
    2021-01-13 03:49

    This is how I solved it:

    1. Go to your project directory (or to Project View)
    2. Go into the .idea directory
    3. Remove caches and libraries directories
    4. File -> Invalidate Caches / Restart

    Should be OK now.

提交回复
热议问题