Does the size of the application have unused assets in the folder with your assets?

I have some textures in my resources folder that I don’t use at all in the game / code. Does this still affect application size?

+4
source share
1 answer

Let's see how this happens in eclipse:

firstly, a regular folder with resources from some garbage application with the total amount of the generated .apk file:

apk without unnecessary files

then I added a 1MB unnecessary .jpg file that I did not use anywhere (just copied to the resource folder):

apk with unnecessary 1MB file

since we see that in Eclipse unnecessary textures affect the size of apk, as their weight

+5
source

Source: https://habr.com/ru/post/1606753/


All Articles