使用方法也很簡單,在 project 目錄底下執行:
$ java -jar <PATH_TO_JAR>/AndroidUnusedResources1.4.jar
接著就會列出未被使用的資源:
Running in: /Users/yurenju/git/YOUR_PROJECT 242 resources found 44 unused resources were found: array : upload_photo_options /Users/yurenju/git/YOUR_PROJECT/res/values/arrays.xml ...
沒有留言 :
張貼留言