“Couldn't resolve resource” in Android Studio's Preview

前端 未结 7 1585
無奈伤痛
無奈伤痛 2021-01-31 01:41

After adding new items in strings.xml, quite often they don\'t start working immediately in Android Studio\'s Preview.

Couldn\'t resolve res

7条回答
  •  广开言路
    2021-01-31 02:09

    you DO NOT need to close the entire project. It's just way too much for so little problem.

    Just refresh the preview (click the "refresh" button)

    provided from https://stackoverflow.com/a/34754707/3339597

提交回复
热议问题