Question:
Does anyone have a quick way to remove all additional resources in an Android application that are not used (mentioned) in my code?
Explanation:
I noticed that as soon as I finally get one of my Android apps ready to ship, there are usually a lot of unwanted resources in my app. I usually have some additional drawings that are not used, because I switched them with new ones. I also have additional String resources and even some additional layouts that are not used anywhere in my application (they donβt have any reference to them in Java code). I want my applications to occupy the least amount of space on the user's phone.
source share