After changing my android build Gradle version from 3.2.1 to 3.5.0, gradle version from 5.1.1 to 5.4 and updating support libraries to androidx. we have this new issue occurring i.e, Resource not found in high numbers.
Android-studio version is 3.5
Though the id(drawable) which is missing(lets say ImageA) is not used at that line number at all but exists there in folders."ImageB" is used at that line number. Drawable is stored as png in all respective folders(hdpi,mdpi,xhdpi,xxhdpi,xxxhdpi) ImageA and ImageB looks same but have different sizes in their respective folders. we have tried changing the name of the resource but issue is still there and disabling r8 was not compiling/building the project.
we are not able to figure out whether this is an issue of r8 or bundle.
Seen this and this post but they are related to string resource.