🗡️ Pokedex Compose demonstrates modern Android development with Jetpack Compose, Hilt, Coroutines, Flow, Jetpack (Room, ViewModel), and Material Design based on MVVM architecture.
Reduce bundled images file size, remove duplicate and unused images.
🛠 Implementation details
Losslessly optimize app icon PNG images.
Remove duplicate app icon files: only keep the app icon files in the app module and not in the designsystem module.
Remove unused default vector app icon.
Apply a special lossy quantizer to the pokemon_preview PNG image using pngquant. The result image is almost identical to the source but only 34% of the file size.
These optimizations further reduce the APK file size by almost 140KB.
🎯 Goal
Reduce bundled images file size, remove duplicate and unused images.
🛠 Implementation details
pokemon_preview
PNG image usingpngquant
. The result image is almost identical to the source but only 34% of the file size.These optimizations further reduce the APK file size by almost 140KB.