Tagged articles
4 articles
Page 1 of 1
DeWu Technology
DeWu Technology
Sep 18, 2023 · Mobile Development

Trimming Android XML Binary Resources to Shrink APK Size

This article explains the inner workings of Android's compiled XML format, demonstrates how to parse and manipulate its binary chunks, and presents a step‑by‑step optimization that removes namespaces and attribute names to reduce APK size by up to 28 % while handling compatibility issues.

APK size reductionAndroidKotlin
0 likes · 21 min read
Trimming Android XML Binary Resources to Shrink APK Size
Yuewen Technology
Yuewen Technology
Nov 19, 2021 · Mobile Development

How Shadow Plugin Framework Shrinks Android APKs and Enables Dynamic Modules

This article explains the motivation behind adopting the Shadow plugin architecture for QQ Reading, compares modular and plugin approaches, details class‑loader mechanisms, walks through Shadow's core components and loading flow, and shares practical usage tips and lessons learned.

APK size reductionAndroidDynamic Modules
0 likes · 18 min read
How Shadow Plugin Framework Shrinks Android APKs and Enables Dynamic Modules
Meituan Technology Team
Meituan Technology Team
Apr 7, 2017 · Mobile Development

Techniques for Reducing Android APK Size in Meituan App

To shrink Meituan’s Android APK, developers can optimize the ZIP layout, enable ProGuard/R8 dex shrinking, inline R fields, convert images to WebP or VectorDrawable, disable redundant PNG crunching, activate shrinkResources, limit packaged languages, obfuscate resources with tools like AndResGuard, and eliminate duplicate or unused assets.

APK size reductionAndroidProGuard
0 likes · 18 min read
Techniques for Reducing Android APK Size in Meituan App