背景:
阅读新闻

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

  作者: 今日评论: [字体: ]

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.


来源:
录入日期:[2017/01/22 22:08:00]
收藏 推荐 打印 | 录入:mikebai | 阅读:
文章评论      
正在加载评论列表...
评论表单加载中...