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
Just delete app>build and build folders in the project path on your computer!
app>build
build
project path