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

后端 未结 8 986
小鲜肉
小鲜肉 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:39

    In fact, Android Lint should report about the unused resources, but you can also try with this nice plugin.

    0 讨论(0)
  • 2020-12-09 02:43

    In Android Studio 2.3 it's possible to remove all unused resources.

    • Open any *.xml in your res/values/ directory
    • Right click on any item's name
    • Refactor -> Remove Unused Resources...
    0 讨论(0)
提交回复
热议问题