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

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

Red highlight means Cannot resolve symbol \'Theme\'

\"enter

<

5条回答
  •  囚心锁ツ
    2021-01-13 03:33

    It's very weird but I had the dependency in my .gradle.

    To solve the issue I deleted it(//commented), sync, get all error because of it, put the dependency again, sync again. Then the problem was gone!

提交回复
热议问题