Profiling and how to optimise your app startup and kill ANRs

Very often when building an app, you get taken away in the code architecture, building different components, and getting stuff done. You want features out, and very often you don’t have time to optimise stuff. Sadly, this is the way software development has gone in recent years, especially during the IT layoffs in the recent couple of years. One thing that always gets missed and usually gets resolved is that your app just becomes slow. ANRs or Application Not Responding is an often thing that happens with mobile apps and people learn about it only when people actually start complaining from it. “Hey, we see a dialog that says Close app” is the most common thing you will hear from users. And this is when you realized they have already opened Pandora’s box for you. I hope with this post to make you aware of how to identify such potential issues and try to fix them before they occur. Let’s go.

June 19, 2025 · 9 min · gmirchev90

KAPT to KSP migration and Hilt

There is an issue with Dagger / Hilt when you migrate your project from the KAPT to KSP code generation plugin.

January 14, 2024 · 1 min · gmirchev90