---
title: "Optimize, Shrink, and Obfuscate Your Android App: The Modern R8 Guide"
url: https://daily.dev/posts/optimize-shrink-and-obfuscate-your-android-app-the-modern-r8-guide-zo37wxis7
source_url: https://proandroiddev.com/optimize-shrink-and-obfuscate-your-android-app-the-2025-edition-a33f79f2ea1d
type: article
source: "ProAndroidDev"
published: 2026-05-31T20:38:03.136Z
updated: 2026-05-31T20:38:24.621Z
tags: ["android", "kotlin"]
reading_time: 4
upvotes: 3
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Optimize, Shrink, and Obfuscate Your Android App: The Modern R8 Guide

**[ProAndroidDev](https://daily.dev/sources/pand)** · 4 min read · 3 upvotes · 0 comments

## Summary

A practical guide to modern Android app optimization using R8 Full Mode. Covers enabling R8 Full Mode (now default in AGP 8.0), using the optimized ProGuard configuration file, writing narrow Keep Rules instead of broad wildcards, using the @Keep annotation, shrinking resources via isShrinkResources, language resource filtering, converting images to WebP, and switching from APK to Android App Bundle uploads for 15-20% download size reduction.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://proandroiddev.com/optimize-shrink-and-obfuscate-your-android-app-the-2025-edition-a33f79f2ea1d>

## Similar posts on daily.dev

- [Android Developers Blog: Use R8 to shrink, optimize, and fast-track your app](https://daily.dev/posts/android-developers-blog-use-r8-to-shrink-optimize-and-fast-track-your-app-phr0xzn6m) · Android Developers Blog · 0 upvotes · 0 comments
- [Android Developers Blog: Configure and troubleshoot R8 Keep Rules](https://daily.dev/posts/android-developers-blog-configure-and-troubleshoot-r8-keep-rules-93owf7hzc) · Android Developers Blog · 1 upvotes · 0 comments

---

Tags: [#android](https://daily.dev/tags/android), [#kotlin](https://daily.dev/tags/kotlin)

[View this post on daily.dev](https://daily.dev/posts/optimize-shrink-and-obfuscate-your-android-app-the-modern-r8-guide-zo37wxis7)
