Issue
Do I need to go through the complete repository and delete Drawables
not referenced in the code, or does the apk automatically not include Drawables
never used? Thanks in advance.
Solution
By default, no. Your apk will include everything you put in it.
To remove unused code use proguard.
To remove unused resources, you can include this in your build.gradle.
android {
...
buildTypes {
release {
minifyEnabled true
shrinkResources true
....
}
}
}
Answered By - Chad Bingham
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.