I have updated my android studio from 3.5.x to 3.6 today and getting error while generating signed apk for build variant showing the follow
This issue is resolved by deleting APKs generated by previous build existing in release and debug folders.
Invalidating cache and rebuild would not help if you have not deleted previously generated APKs