Android Tutorial #16: App Security — R8, ProGuard, Encrypted Storage, Biometrics

You built the app. It works. But before you ship it, you need to think about security. Can someone decompile your APK and read your code? Is the user’s data safe? Can a man-in-the-middle attack steal API tokens? In this tutorial, you will learn how to protect your Android app — from code shrinking with R8 to biometric authentication and encrypted storage. Prerequisites: You should have a working Android app. If you have been following this series, you already have everything you need. ...

July 8, 2026 · 9 min