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

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

    Couldn't resolve resource @string/faq_customer_service or Couldn't resolve resource @id/visible or Couldn't resolve resource @id/masked The solution is if you implement TextInputLayout the above problems may arise ... so Simply add those id or strings to xml files as their property.

提交回复
热议问题