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
I did an Invalidate Cache and Restart and it fixed it.