I am able to create debug build but release build fails with app:mergeReleaseResources and Error: java.util.concurrent.ExecutionException: exception. I have tried setting progaurd off, remove any corrupted png file but still same issue is coming. Any idea what is going wrong here or how to find the reason?
Solved this by using this command gradlew --scan assembleRelease in terminal and it it gave me following error : D:\Freelance Work\InstaConnect\app\src\main\res\drawable-nodpi\blacktoblue_gradient.png: error: failed to read PNG signature: file does not start wi th PNG signature.
Once i corrected that file , it worked.