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

前端 未结 7 1583
無奈伤痛
無奈伤痛 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:17

    There are three steps for solving this problem

    1. Build -->Clean Project

    2. Build -->Rebuild Project

    3. Restart android studio

提交回复
热议问题