Every thing work fine before setting
minifyEnabled true
and
shrinkResources true
Afte
Okay got the solution. Just replace your hard codded signing config:
release {
storeFile file('/home/rishabh/Documents/dekhoJks/release.jks')
storePassword "XXXXXXX"
keyAlias "XXXXXXXX"
keyPassword "XXXXXXXXX"
}
and instead of that create separate signing.properties file :
STORE_FILE=/home/XXX/XXX/XXX
STORE_PASSWORD=XXXXXX
KEY_ALIAS=XXXXXXXX
KEY_PASSWORD=XXXXXXXXX
and use in your gradle. Hope it helps!!