Created
April 7, 2016 10:17
-
-
Save 0guzhan/52f37548dbfe261ef6f27fab6ee61b87 to your computer and use it in GitHub Desktop.
Removing Android Unused Resources(drawables, layouts and even string definitinions in strings.xml)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install python 2.7.+ and install android-resource-remover module with following command | |
pip install android-resource-remover | |
# investigate project with lint that delivers with android-sdk | |
gradlew.bat :app:lint | |
# this python module will remove unused resources from android project | |
android-resource-remover --xml app\build\outputs\lint-results.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment