When publishing your obfuscated release APK on the Play Console remember to also upload the mapping file for each version. That way whenever you go to the ANRs & crashes page, the reported stack traces will show real class and method names and line numbers instead of the shortened and obfuscated ones.
I mentioned that ProGuard outputs mappings and logs when processing class files during a build. You should save these files alongside your APK whenever you store build artifacts. The mapping files cannot be used across different builds and will only work correctly with the APK they were produced with. Having the mappings available will help you debug crashes coming from users’ devices that would otherwise be difficult to inspect because of obfuscated names.
the origina…id Studio can help you see which classes were removed by ProGuard and generate keep rules for them. When you build an APK with ProGuard enabled, there are additional output files created in
<app_module>/build/outputs/mapping/ that contain information about removed code and mappings from the obfuscated names to the original names.