Android SDK is missing, out of date, or is missing templates. Please ensure you are using SDK version 22 or later

后端 未结 8 1654
礼貌的吻别
礼貌的吻别 2020-12-03 06:31

Possible duplicate, I just download a Android Studio Zip file like Eclipse, as I opened getting this error.

\"en

相关标签:
8条回答
  • 2020-12-03 06:57
    1. Create SDK folder at \Android\Sdk
    2. Close any project which is already open in Android studio

    Android Studio setup wizard will appear and perform the needed installation.

    0 讨论(0)
  • 2020-12-03 06:59

    1.Click on Configure

    2.Then Choose Project Defaults

    3.Click on Project Structure

    4.Set android sdk path

    You will find here "C:\User\YourPcname\AppData\Local\SDK"

    Note: Sometime AppData may hidden if it will not show then enable show hidden content.

    5.Apply Changes

    6.Then Select Sdk From Configure option

    7.Then Android sdk manager page is open

    8.In bottom you will see Install packages option

    9.Install them and enjoy.

    0 讨论(0)
  • 2020-12-03 07:05

    same problem happened to me, From this

    I have faced the same issue, to solve it:

    1- delete (or move) the projects folder (AndroidStudioProjects).

    2- Run the Android-Studio (a WELCOME screen will started).

    3- From Welcome Screen choose, "Configure -> Project Defaults -> Project Structure)

    4- Under Platform Settings choose SDKs.

    5- Select Android SDK -> right_click delete.

    6- Right_click -> New Sdk -> Android SDK -> choose your SDK dir -> then OK.

    7- Choose the Build target -> apply -> OK. enjoy

    0 讨论(0)
  • 2020-12-03 07:13

    I was able to trigger an SDK download like this:

    1. Close Android Studio
    2. Open android studio, but be ready
    3. Once you see "loading project", click cancel. (this will only appear for seconds on a fast machine)
    4. The SDK download window appeared!
    0 讨论(0)
  • 2020-12-03 07:14

    Click on Tools > SDK Manager or click SDK Manager after If you are unable to see the location of your Android SDK Location, click on edit and create a folder where you want to keep it and then click Next and Finish

    0 讨论(0)
  • 2020-12-03 07:21

    I had same issue in Android Studio 3. (the project was open) so I closed the current project and the IDE automatically prompted to download the latest components. once its done everything was working correctly.

    0 讨论(0)
提交回复
热议问题