If I enable r8/proguard for debug version my application builds without any error. But if I was try to generate a signed apk then the build fails although I have added rules for