After updating to Android Studio 4 I got this error: A problem occurred configuring project \':app\'.
groovy.lang.MissingPropertyException: No such pr
This started happening for me when upgrading Android Studio from 4.0.2 to 4.1. Unfortunately I had to update a branch which still includes fabric, the only way I could get it working was to downgrade android studio and make the fixes and be able to make a new build.
Download old versions here:
Windows: https://android-studio.en.uptodown.com/windows/versions
Mac: https://android-studio.en.uptodown.com/mac/versions