android - Export signed app without "optimizing" png images -
when export apk eclipse, compresses of png images. example, 1 4.6 kb png became 2.15 kb inside apk. prefer optimize png files using tinypng before apk built, makes smaller files. same 4.6 kb png became 746 b using tinypng. when building apk, compression ran on 746 b png making 1.6 kb.
is there way disable optimization future builds?
in project build.xml
ant file can override -crunch
task of sdk, avoiding png compression, compressed them:
<target name="-crunch"> <echo message="skipping png optimization"/> </target>
Comments
Post a Comment