This occurred to me too, this might happen because the default signing configuration is modified after upgrading to Gradle 7.0.0. You can fix this without downgrading the Gradle. To do this,
go to File menu > Project Structure.
Step Reference Image 1
then go to Modules section
Step Reference Image 2
then head to Default Config tab
Step Reference Image 3
Scroll down to Signing Config then click dropdown
Step Reference Image 4
select $signingConfigs.debug from the drop-down list
Step Reference Image 5
Click APPLY then OK then Run your app again.
That SOLVED the issue for me. Hope it works for you too.