search

Home  >  Q&A  >  body text

android - 项目时间长了,字符串文件strings有的字符串可能是多余的,有没有办法快速检测那些是没用的?

怎样检测Strings中没用的字符串

黄舟黄舟2772 days ago456

reply all(4)I'll reply

  • 高洛峰

    高洛峰2017-04-17 17:36:09

    Inspect Code in AS....Whoever uses it knows.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 17:36:09

    android studio has several such plug-ins, such as Android Lint, which can detect useless resource cleaning, wrap Strings, image codes, etc. as has many powerful plug-ins

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 17:36:09

    The simplest one is to right-click the project and refactor --》remove unused resources

    reply
    0
  • PHPz

    PHPz2017-04-17 17:36:09

    1. The functions that come with android studio have been mentioned above.

    2. Please pay attention to the built-in function of remove unused resources to delete resources used by third-party dependencies

    3. Suggestion: gradle lint command, and then delete it manually

    reply
    0
  • Cancelreply