How to delete an unused string resource for all configurations in Android Studio?

后端 未结 8 1036
小鲜肉
小鲜肉 2020-12-09 01:41

I\'ve found an unused string resource, like:

my name is null!

However it is in tens of

8条回答
  •  情书的邮戳
    2020-12-09 02:34

    Beware that the REMOVE UNUSED RESOURCES command cannot recognize a programmatically accessed resource as a used resource (such as getIdentifier(..) etc.). So, if you do access resources that way, it is highly risky to use that command!!

提交回复
热议问题