I Copied my Android Studio project from my work PC and copied it to my home PC. When I opened the project I got the following error:
Failed to import
I found a similar question in: Gradle build errors after updating Android Studio
in the local.properties file in the root of the project, change the sdk.dir value.
For anyone else running into Gradle issues after updating Android Studio:
Go to File > Project Structure > Project.
My Gradle version and Android plug in version did not match, which was causing my issue. If you make a change here, make sure you also update your top-level Gradle file with the same version like so: classpath 'com.android.tools.build:gradle:some version number'