Android studio says in can not locate the sdk

Android Studio can support multiple SDKs, so it’s likely that you have one version installed and an app has a different one configured.

You can either change the sdk value in the gradle files, or install the missing sdk.