Is using Proguard with Android worth the effort?

I'm going to finish my first Android app, and I'm trying to decide how to protect it with ProGuard. The minimum API for my applications is 7 (Android 2.1). I believe that using Proguard would be easy if I set the minimum API to 9 (Android 2.3), but how many devices use 2.1 and 2.2 . I do not want to exclude them.

Everything I read about using Proguard with Android seems confusing and difficult (I don't know anything about Ant scripts) Does anyone know a step-by-step guide on using Proguard for Android with Eclipse?

Is Proguard even useful?

+6
source share
1 answer

ProGuard has nothing to do with the API level of your application. Newer versions of Eclipse ADT are integrated, so to use the addition of a separate line in the configuration file, you do not need to use Ant. You may have problems if ProGurad removes the methods / classes that you are actually using, and you have to work around them by setting up the ProGurad configuration file.

If you find it difficult to use, you can always run the application without obfuscating it and add ProGuard to a later version. If this is your first application, the likelihood that someone will decompile it to steal your top-secret code is pretty low :)

+3
source

Source: https://habr.com/ru/post/897669/


All Articles