Export signed app without “optimizing” png images

后端 未结 5 800
北海茫月
北海茫月 2021-01-12 04:40

When I export an apk from eclipse, it compresses all of the png images. For example, one 4.6 KB png became 2.15 KB inside the apk. However I prefer to optimize png files usi

5条回答
  •  借酒劲吻你
    2021-01-12 05:45

    In your project build.xml ANT file you can override the -crunch task of the SDK, thus avoiding PNG compression, as you previously compressed them:

    
        
    
    

提交回复
热议问题