The proguard that you use for a number of reasons mentioned in this question. Should I use ProGuard?
I copy the answer from this question in case of link violation:
It is very easy to rebuild Android applications, so if you want to prevent this, yes, you should use ProGuard for its main function: obfuscation.
ProGuard also has two other important features: an abbreviation that eliminates unused code and is obviously very useful, as well as optimization. However, optimization works with Java bytecode, and since Android runs on Dalvik bytecode, which is converted from Java bytecode, some optimizations will not work as well. Therefore, you must be careful.
There are instructions for using proguard on the Android website. The main thing you need to check is that you have a string
proguard.config = $ {sdk.dir} /tools/proguard/proguard-android.txt:proguard-project.txt in the project.properties file. Since you mention that you are using Android Studio, and you do not have this file, but are asked about the configuration file, try choosing the one that is in the Android SDK (tools / proguard / proguard-android.txt).
Saurabh kataria
source share