'Android SDK path not specified

I already installed the android studio but i am having a problem to proceed ahead, and the problem is Android SDK path not specified, what does it mean, do i need to download something or what?Android SDK is having problem



Solution 1:[1]

Go through the following steps but first make sure your PC is connected to the internet.

  1. Open your Android Studio
  2. Go to the File menu and choose Settings
  3. After that from the left side of Settings window search Android SDK, click on it and on right side click Edit.
  4. Then from SDK Setup Window Click Next and Another window will be opened click Next.
  5. Finally, the installation starts and Android Studio download the SDK and necessary files.

Solution 2:[2]

Yes, you need to download the Android SDK. Then you need to add the location on your computer to Android Studio.

The SDK can be downloaded by opening a workspace in Android Studio, and finding a button with an arrow pointing down. If you hover over it, it should say "Open SDK manager". Press it and download the packages you need.

Solution 3:[3]

Yes, Before installation it will ask you options.Just tick mark Android SDK.

See below:

Refer link: https://developer.android.com/studio/install

Solution 4:[4]

The installer is misleading making you think the SDK is already there. After much searching I figured this out:

Cancel the dialogue box asking for the Android SDK path and do the following:

Open Android Studio IDE. Find the down arrow icon, should be second last icon in the toolbar. Click that. You will see a path for Android SDK Location:. Click the edit link to the right of that. This will bring up the SDK Components Screen. If you can check the boxes there, check them. They may already be checked or they may be disabled. You can leave the path as is, for me its:

 C:\Users\<user name>\AppData\Local\Android\Sdk

Depending on whether you had Android Studio before it may say it has detected a previous version and it will only download the components it needs. This is normal. Now click the NEXT button. A confirmation screen will come up with Setup Type and SDK Folder. If you want to change your SDK Folder this is your last chance, if not, click NEXT again.

It may bring up a Terms & Conditions screen, click the Accept radio button then NEXT. It will go and download the Android base SDK. When it's completed click FINISH.

You will then be taken to the Platforms screen where you can select which Android platforms you want to support. ie, Android 9.0 (Pie), Android 8.1 (Oreo). Select all the platforms you need then click APPLY.

The downloader will grab all those packages for you. Next, click the SDK Tools tab. Check the boxes of the tools you want and click APPLY. It may bring up a Terms & Conditions screen again, click the Accept radio button then NEXT. When completed just click FINISH and you're good to go.

Solution 5:[5]

File > Settings enter image description here The download will begin

Solution 6:[6]

In some cases, the project works properly but suddenly this error appears even though the project has nothing to do with Android

If this is your case, try the following steps:

  1. Find a file in your project called tests.iml (or File ending in .iml)

file location in default is C:\yourProject\tests\tests.iml

  1. Revert to the last version for all page by the click on the git change icon (1) and click on the revert button (2)

As the following image:

enter image description here

  1. Run project

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Community
Solution 2 Zoe stands with Ukraine
Solution 3 Prudhvi Bsecure
Solution 4 Michael Fever
Solution 5 Leonid Ivankin
Solution 6 Gavriel Cohen