Android studio says in can not locate the sdk

Error:Cause: failed to find target with hash string 'android-21' in: C:\Users\punchersjhb.HARAMBEE\AppData\Local\Android\sdk
Error:Cause: failed to find target with hash string 'android-21' in: C:\Users\punchersjhb.HARAMBEE\AppData\Local\Android\sdk
<a href="openAndroidSdkManager">Open Android SDK Manager</a>

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.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.