This is an automated archive made by the Lemmit Bot.

The original was posted on /r/androiddev by /u/vim_c on 2025-02-16 12:05:17+00:00.


I’m looking for effective methods to protect my APK files from reverse engineering. I know that decompiling and modifying APKs is relatively easy with tools like JADX and ApkTool, so I want to make it as difficult as possible for attackers.

So far, I’ve considered:

  • Code obfuscation (e.g., ProGuard, R8)
  • Encrypting sensitive strings and assets
  • Implementing root/jailbreak detection
  • Checking for debuggers and emulators
  • Server-side logic to minimize critical code in the APK

Are there any other techniques you recommend?