---
title: "Discussion on \"Scalpel, Not Sledgehammer: Precise Keep Rules for Smaller, Faster Android Apps\" | Hashnode"
description: "Discussion on \"Scalpel, Not Sledgehammer: Precise Keep Rules for Smaller, Faster Android Apps\". Replace blanket R8 wildcards with conditional, type-safe keep rules to cut DEX size, ANRs, and startup time without breaking reflection."
url: "https://hashnode.com/posts/scalpel-not-sledgehammer-precise-keep-rules-for-smaller-faster-android-apps/6af4b1afa4540f825fe059b4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Scalpel, Not Sledgehammer: Precise Keep Rules for Smaller, Faster Android Apps](https://android-expert.hashnode.dev/scalpel-not-sledgehammer-precise-keep-rules-for-smaller-faster-android-apps?utm_source=hashnode&utm_medium=feed)

Replace blanket R8 wildcards with conditional, type-safe keep rules to cut DEX size, ANRs, and startup time without breaking reflection.

6d ago · 12 min read · android-expert.hashnode.dev  
Read the article

-   [#android](https://hashnode.com/tag/android)
-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#performance](https://hashnode.com/tag/performance)
-   [#gradle](https://hashnode.com/tag/gradle)

## Written by

[Android Expert](https://hashnode.com/@android-expert)

@android-expert · Chennai, India

  
[View profile](https://hashnode.com/@android-expert)

Android Expert· Kotlin, Jetpack Compose & production pitfalls

Android Engineer &amp; Kotlin Advocate. 🚀 Deep dives into Jetpack Compose, Coroutines, and Clean Architecture. Turning complex code into scalable solutions. 🛠️✨

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
