I searched everywhere for an answer, but could not find.
The main problem is that eveyone is talking about the proguard configuration file, but it is not there, IntelliJ / Android Studio does not create such a file, there is not one in the SDK, so how do I create the correct configuration file for obfuscation proguard?
I know that I was a little late with the answer, but here is the answer This blog contains everything you need from scratch, step by step with images.
minifyEnable false
minifyEnable true
. , .
android-sdk\tools\proguard\proguard-android.txt proguard-android-optimize.txt. , SDK Manager "Android SDK Tools". , IntelliJ proguard-project.txt . , , . .
" ProGuard APK" " " (F4):
Andoird Studio proguard-rules.pro . :
proguard-rules.pro
The rest of the proguard configuration is traditional, and you can find a lot of information by sending it to Google. :)Hope this helps.
:)