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.