This video will help in understanding, How to fix deobfuscation or R8/proguard or shrink issues while publishing to Google Play store.
proguard-rules.pro: https://bit.ly/3rDUtWU
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}