If I don't compress a plain text file in Android, will it be compressed in the APK anyway?
问题 I'm debating with myself whether or not to compress a plain text file I'm including in my application that is about 1.5 MB. I can compress it to 400k with zip and unzip it in the application, but that's just one more thing to mess with. If I don't do that, will it get compressed anyway in the APK? Is there a special place I could put it to make this happen? I'm really only concerned with download size. 回答1: Files are compressed based on their extension: /* these formats are already compressed