Gradle failed to restore: Unable to find method 'org.gradle.api.file.ProjectLayout.directoryProperty
The issue was that I upgraded to Android Studio v4, and seem like the download project was created using Android Studio v3. After go to
File/ Project Structure.../
And change the Android Gradle Plugin Version
from 3.3.1
to 4.0.1
and now project loaded fine.
Not sure why Android Studio v4 is not backward compatible with Gradle version 3.