Can't find SDK folder inside Android studio path, and SDK manager not opening
Asked Answered
R

17

31

I have installed Android Studio for the millionth time but when i go to C:\Program Files\Android\Android Studio , i can't find any folder named "SDK" , can't find it any where on the computer either. Also, the SDK manager doesn't open, which i guess is a problem linked to the first one.

Rilda answered 17/3, 2015 at 12:54 Comment(0)
B
39

If you have downloaded the AS + SDK bundle:

Assuming the defaults were left unchanged, you will find the SDK in C:\Users\%USERNAME%\AppData\Local\Android

If it is missing at this location, one of the following reasons apply: you have chosen a custom location, you missed to install the SDK at all, or (unlikely) they have changed the default install location.

Note #1: the AppData directory is hidden by default. If you have a standard Windows configuration, the C:\ path above should work "as is" (hit Win + R -> paste the path -> Enter).

Note #2: you will never find the SDK in the Android Studio directory unless you have explicitly put it in there. The reason is that those directories might be deleted after installing a newer version of Android Studio and you would have to re-install the SDK as well.

If you have retrieved the standalone SDK by some other means:

The SDK location may vary (from my experience), however (assuming the default configuration) you will most likely find it in C:\Program Files\Android or C:\Users\%USERNAME%

Balkan answered 17/3, 2015 at 13:5 Comment(1)
This is where mine was. But, on Earth, why?Lizalizabeth
M
14

Tools > Android > SDK Manager > there you'll see the path to SDK

Mesentery answered 2/12, 2015 at 14:35 Comment(0)
M
14

If you don't have it at C:\Users\%USERNAME%\AppData\Local\Android (this is where most people have it) than it is possible you don't have it installed. Go to Tools > Android > SDK Manager and then click on "Android SDK." On the top of the SDK Manager it will list the SDK Location. Click edit. If you don't have Android SDK installed, it will give you the option to install it in certain location. Install it, and Android Studio should work!

Masry answered 19/11, 2017 at 18:36 Comment(1)
You said "than" not "then" :)Pyrogenic
W
6

SDK folder by defalut is in C:\Users\<user-name>\AppData\Local\Android. And the AppData folder is hidden in windows. Enable show hidden files in folder option, and give a look inside that.

Warnerwarning answered 17/3, 2015 at 13:14 Comment(0)
B
4

I had to open Android studio and go through the wizard. Android studio will install the SDK for you.

Bizet answered 12/4, 2019 at 9:53 Comment(0)
B
3

Make sure all the folders are visible. click start>control panel>Appearance and Personalization>Show hidden files and folders then click "Show hidden files, folders and drives" The file should be in C:\Users\Username\AppData\Local\Android as mentioned above. otherwise you can check by opening Android SDK Manager - top left under SDK path.

Belita answered 30/6, 2015 at 12:0 Comment(0)
J
3

If SDK folder is present in system, one can find in C:\Users\%USERNAME%\AppData\Local\Android

If Android/SDK folder is not found Once done with downloading and installing Android Studio, you need to launch studio. On launching Android studio for the first time, we get option to download further more components, in that we have SDK. On downloading components one can find SDK under Appdata (C:\Users\%USERNAME%\AppData\Local\Android)

Joettejoey answered 13/1, 2018 at 18:54 Comment(0)
C
2

If your are using android studio go to file >> project structure on the left pane press on SDK location . you will find the path where your sdk is located

Capuano answered 11/8, 2016 at 12:55 Comment(0)
E
2

When you install the android studio just by downloading from https://developer.android.com/studio/install.html sometimes sdk folder will not get appear in C:\Users\home\AppData\Local\Android Location.. But to set the android studio we need to set the path for android on this location. So simply 1) start the android setup.
2) follow the instruction and android studio will automatically download the sdk folder by itself. (it will show the window like "Downloading Components"). After completing that installation check the above path again. sdk folder will get appear now.

Edmiston answered 15/4, 2018 at 14:37 Comment(1)
Yes, after installing latest Studio (v3.1.2). 64-bit, on Win-10, and bringing it up first time, it complained that it couldn't find its SDK. It explicitly says to NOT continue on without first resolving the problem. So, IGNORE that warning, because when you DO continue on, the first think it does is allow you to let it download and install the SDK. (Come on, Google...make up your mind.)Acetate
T
1

I faced the same issue. And I am able to resolve it by uninstalling the previous version I had, and removing the Android studio projects and reinstalling it.

And then go to Settings-> Android Studio -> Click on edit, to specify studio location, it will recognize the requask you if you would like to download sdk,

Tenebrific answered 14/3, 2018 at 19:23 Comment(0)
A
0

So I was trying to root one of my old phones and process required Android SDK. When I searched Android SDK, all i could do was download and install Android Studio. Everything went fine and smooth, till I tried to look for SDK in installation. I could not find it under Android Studio installation. But after a little search on Google and Android Studio configuration on my computer, I was able to find it at

        C:\Users\username\Android\sdk

I hope that helps.

Amberambergris answered 17/7, 2016 at 17:42 Comment(0)
A
0

I found it in /Users//Library/Android/sdk

Antiquity answered 12/4, 2019 at 19:52 Comment(0)
P
0

For me it was :

C:\Users\{your-user-name}\AppData\Local\Android\Sdk\tools\bin

Hope it helps!

Practice answered 25/9, 2019 at 12:4 Comment(0)
W
0

After installation if you get a message about Proxy, it means that you're probably behind a firewall. You can create a new Outgoing firewall rule to include it. Add this to Allow:

C:\Program Files\Android\Android Studio\bin\studio64.exe

It will then download required SDK components

Once that's done, SDK will be in: C:\Users\your_user_name\AppData\Local\Android\Sdk

Wanigan answered 24/2, 2022 at 5:47 Comment(0)
L
0

For anyone who really can't find the SDK, you can manually download it from android studio.

File => Settings => Appearance & Behavior => System Settings => Android SDK

If you do not have a SDK (or did not select the right folder), you will be asked to select the SDK version and the folder where the SDK will be installed.

This is how I fixed by SDK not found problem.

Linnell answered 25/7, 2022 at 19:5 Comment(0)
X
-1

C:\Users\*********\AppData\Local\Android\Sdk

Check whether the USERNAME is correct, for me a new USERNAME got created with my proxy extension.

Xeric answered 30/8, 2018 at 12:19 Comment(0)
U
-1

System: Ubuntu 16.04 LTS, yet you can try these steps in accordance to your respective systems.

If there is an SDK file present, it should be most likely found at /home/USERNAME/Android/sdk

USERNAME is to be replaced by your username

If there is none, check the specified sdk path for the project in android studio. File > Project Structure > sdk path

The sdk directory should be present in the specified path. In case, it is not there, open the file: PROJECT_DIRECTORY/android/local.properties

PROJECT_DIRECTORY needs to be replaced by your project name.

If the file is not there, create it. Then add the following line depending on where you find the sdk directory.

If sdk is there at /home/USERNAME/Android/: add the line: sdk.dir = /home/tanya/Android/sdk

If sdk is not there at /home/USERNAME/Android/: add the line: sdk.dir = /home/tanya/Android/

If the path specified for sdk directory in 'Project Structure' is entirely different and the sdk directory is present at the specified location, add the line: sdk.dir = SPECIFIED_SDK_PATH

Add the specified sdk path in place of SPECIFIED_SDK_PATH

Unmask answered 11/9, 2018 at 13:24 Comment(1)
@Paul It's nice of you to try to filter out relevant material for other developers. Although, the work around was implemented on Ubuntu but as mentioned above, if similar steps in accordance to the system used, including Windows, are performed the error might solve in certain cases.Unmask

© 2022 - 2024 — McMap. All rights reserved.