mikebai.com

  • Home
  • dev
  • DotNET
  • M365
  • 搞笑
  • 杂七杂八
  • FocusDict
個人BLOG
it developer
  1. Main page
  2. dev
  3. Main content

android studio中删除所有未使用的资源

2017-01-22 117hotness 0likes 0comments

You can easily search for unused resources from Android Studio.
Just press Ctrl+Alt+Shift+iand type "Unused resources" (without quotes).
That will execute lint. Super easy way how run lint commands (and other stuff from IDE).

OR

In Android Studio -> Menu -> Refactor -> Remove Unused Resources...

Select the resources you want to remove. You can exclude resources you want to keep by right clicking on the resource item.

Use Do Refactor to remove all Resources at once.

Tag: Nothing
Last updated:2017-01-22

mikebai

This person is a lazy dog and has left nothing

Like
< Last article
Next article >

COPYRIGHT © 2025 mikebai.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang