I recently tried to import sample Android games I downloaded from Google’s developer website. After importing them into Android Studio, I’m getting the following error:
Error: SDK location not found. Define location with
sdk.dirin the local.properties file or with an
The project might be missing a
settings.gradle file. Make sure that file exists from the project you are importing. If not add the
settings.gradle file with the following :
Save the file and put it at the top level folder in your project.