How do I prevent the Android \"build process\" from optimizing .png images?
I have an Android project with the following res directories:
- /res/ - /
Specifying PNG crunching is now a BuildType property and is disabled by default on debug builds:
android { … buildTypes { release { crunchPngs false // or true } } }
Note: It's available from Android Studio 3.0 Canary 5 .