The fact is that in my project there are several text files, the name of which are proguard-rules (for the application itself and the library). In the gradle file

buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } 

Does this mean that proguard is enabled and what is its function here?

    1 answer 1

    Obfuscation is disabled because minifyEnabled is set to false, switch to true, and recreate apk. For persuasiveness, you can take the assembled apk, open it in some source viewer utility, and make sure that the code is obfuscated.

    • minifyEnabled false progvard off . Or am I wrong? - pavel
    • @pavel, Yes, you are right, quite right, I did not notice it, minifyEnabled needs to be translated to true - Werder