Хотел посмотреть пример с github.com через file-import samples в Android Studio. И тут программа начала ругаться на то что путь к sdk не указан. Да я могу укзаать на свой старый sdk, но там нет нужного API, а скачивать через 32 кб/с модем долговато.
(Саму студию качал три дня)
Где по дефолту хранится sdk?
-
Вопрос заданболее трёх лет назад
-
17770 просмотров
Пригласить эксперта
если не ошибаюсь, AppData/Local/Android
для проекта sdk можно посмотреть File -> Project Structure -> SDK Location
А по умолчанию в Android Studio в sdk api не подгружены
Windows:
C:UsersuserAppDataLocalAndroidSdk
или:
%LOCALAPPDATA%Androidsdk
Для Linux: ~/Android/Sdk
Для Mac: ~/Library/Android/sdk
-
Показать ещё
Загружается…
26 мая 2023, в 01:06
500 руб./за проект
26 мая 2023, в 00:08
2500 руб./за проект
25 мая 2023, в 22:01
2000 руб./за проект
Минуточку внимания
I see there a lot of similar topics pertaining to this issue but I did not find a solution for me among those posts. I just installed Android Studio v0.8.14 and it won’t let me create a new project because I do not have an SDK path specified. For the life of me I cannot find where that path should be. I see many people have it located in C:/Android or someplace similar, however the only Android files I have are on my desktop in the extracted folder that came in the .zip. All paths inside that folder do not qualify as an appropriate SDK location, according to Android Studio. Am I being completely ridiculous and missing the obvious?
asked Nov 4, 2014 at 15:38
3
For Mac/OSX the default location is /Users/<username>/Library/Android/sdk
.
answered May 22, 2015 at 17:01
5
Android Studio on Windows 8:
C:UsersusernameAppDataLocalAndroidsdkextrasintelHardware_Accelerated_Execution_Managerintelhaxm-android.exe
(in username : please enter valid username)
Install it and restart your Android Studio.
The above steps are similar for win 7 and also same for eclipse.
Update: Windows 10 (similar steps) — pointed out by RBT
answered Jan 20, 2015 at 17:59
3
This is the sdk path Android Studio installed for me:
«C:Users<username>appdatalocalandroidsdk»
I’m running windows 8.1.
You can find the path going into Android Studio -> Configure -> SDK Manager -> On the top left it should say SDK Path.
I don’t think it’s necessary to install the sdk separately, as the default option for Android Studio is to install the latest sdk too.
answered Feb 3, 2015 at 12:54
syonipsyonip
2,70224 silver badges27 bronze badges
2
I had forgot where the sdk location was installed to so what I did was open Android Studio and selected Settings
then used the following submenu
Current 1/1/2017:Tools -> SDK Manager
outdate: Appearance & Behavior -> System Settings -> Android SDK
There the sdk location was listed as Android SDK Location
answered Sep 12, 2015 at 2:34
CrandellWSCrandellWS
2,6885 gold badges49 silver badges111 bronze badges
4
- Linux (Ubuntu 18.4)
/home/<USER_NAME>/Android/Sdk
- windows (8.1)
C:Users<USER_NAME>AppDataLocalAndroidsdk
(AppData folder is hidden, check folder properties first)
- macOS (Sierra 10.12.6)
/Users/<USER_NAME>/Library/Android/sdk
answered Jun 10, 2019 at 15:01
1
macOS (Catalina or Mojave or Sierra):
After installing Android Studio (3.6+ or 2.3.x),
by default
sdk path: «/Users/< username >/Library/Android/sdk«
Remember:
may be
Library folder is hidden.
To make it visible:- Hit Command+shift+.
OR
Open Terminal and type «chflags nohidden ~/Library/» then hit return.
windows:
After installing Android Studio,
by default
sdk path: «C:Users< username >AppDataLocalAndroidsdk«
Remember:
by default
AppData folder is hidden, make it visible first.
answered Aug 9, 2016 at 3:24
AFAAFA
98910 silver badges8 bronze badges
3
Start Android Studio and select Configure —> SDK Manager
Then, check the path of Android SDK
If you can’t find the SDK location, you may want to download it. Just scroll down to near end of the download page and select the Android SDK with respect to your OS.
answered Mar 28, 2018 at 18:37
wbadrywbadry
75714 silver badges26 bronze badges
C:UsersMaxAppDataLocalAndroidsdk
The location I found it in for Windows 8.1. I think the default SDK folder. AppData is a hidden folder, so you will not locate it unless you type it in once you get into your C:Users folder.
answered Jun 7, 2015 at 14:34
Max GMax G
1411 silver badge2 bronze badges
For Mac users running:
- Open Android Studio
- Select Android Studio -> Preferences -> System Settings -> Android
SDK - Your SDK location will be specified on the upper right side of the
screen under [Android SDK Location]
I’m running Android Studio 2.2.3
answered Jan 11, 2017 at 15:52
1
When i upgraded i just moved my SDK to my user folder C:UsersNickAndroid-SDK and updated my path in Android Studio. Worked like a charm.
EDIT: (More detail) — My SDK was originally inside C:Program Files (x86)Androidandroid-studiosdk, I just Cut and Paste the entire sdk folder into C:UsersNickAndroid-SDK, then set it inside Android Studio to the new location.
answered Nov 4, 2014 at 15:40
Nick HNick H
8,8579 gold badges40 silver badges63 bronze badges
6
For Ubuntu users running:
- Open Android Studio
- Select Android Studio -> Settings -> Android SDK or
Android Studio -> Project structure -> SDK location or to open Project structure shortcut is (Ctrl+Alt+Shift+s) - Your SDK location will be specified on the upper right side of the screen under [Android SDK Location]
TylerH
20.7k64 gold badges72 silver badges97 bronze badges
answered Feb 8, 2018 at 9:53
1
If your project is open click on Gradle Scripts >local.properties(SDK LOCATION)
, open it and there is the location of sdk
with name
sdk.dir=C:\Users\shiva\AppData\Local\Android\Sdk
Note don’t forget the replace \
to before coping the things(sdk location)
answered Feb 3, 2018 at 10:56
meditatmeditat
1,18714 silver badges33 bronze badges
Default path in Windows
%USERPROFILE%AppDataLocalAndroidSdk
answered Sep 20, 2021 at 19:07
Linux 2021, after installed follow these steps!
answered Dec 10, 2021 at 18:44
Open the Preferences window by clicking File > Settings (on Mac, Android Studio > Preferences).
In the left panel, click Appearance & Behavior > Android SDK.
You will see the path
TylerH
20.7k64 gold badges72 silver badges97 bronze badges
answered Nov 2, 2017 at 8:18
C:UsersusernameAppDataLocalAndroidsdk
This is the right path, if you looking up for sdkmanager
.
fandro
4,7537 gold badges40 silver badges61 bronze badges
answered Sep 11, 2017 at 18:08
Marouane KMarouane K
312 silver badges6 bronze badges
Android SDK is in C:UsersusernameAppDataLocalAndroidSdk
answered Jul 20, 2021 at 14:35
(MAC Users) To find sdk Location in Android Arctic Fox:
File >> Project Structure>> SDK Location.
answered Nov 3, 2021 at 6:52
Consider Using windows 7 64bits
C:UsersAdministradorAppDataLocalAndroidsdk
answered Sep 1, 2016 at 15:08
Windows 10 — when upgrading from AS 2.x to 3.01
AS has the SDK directory name changed from …/sdk to …/Sdk
Because I kept my original settings this caused an issue.
Changed back to lowercase and all working!
answered Feb 7, 2018 at 21:48
AndroidStudioFrontScreenI simply double clicked the Android dmg install file that I saved on the hard drive and when the initial screen came up I dragged the icon for Android Studio into the Applications folder, now I know where it is!!! Also when you run it, be sure to right click the Android Studio while on the Dock and select «Options» -> «Keep on Dock». Everything else works.
answered Jan 16, 2019 at 11:26
create a new folder in your android studio parent directory folder. Name it sdk or whatever you want.
Select that folder from the drop down list when asked.
Thats what solves it for me.
answered Nov 10, 2019 at 19:28
I tried the accepted solution but it didn’t resolve the issue for me.
I had already installed Android Studio 2-3 years ago, but I uninstalled it at some point. Installing the latest version was giving me an error. I did multiple uninstalls/reinstallations, but the issue persisted.
I found an SDK was available on my machine in %LocalAppData%. I opened the environment variable and deleted all the references of Android like Android Home /Path. I performed the uninstallation of Android Studio and then reinstalled.
This time it worked and installed properly; it is even downloading the other SDK-related files.
TylerH
20.7k64 gold badges72 silver badges97 bronze badges
answered Jul 13, 2020 at 13:23
RoxxRoxx
3,70020 gold badges89 silver badges154 bronze badges
If you are working on React native,please make sure you have installed these tools because I was missing and it resolved my issue
React Native doc for installation
answered Nov 9, 2020 at 18:55
I found this a couple of minutes back.
What renders the location unuseful is the fact that it is neither empty nor has the sdk.
One of the conditions needs to be met for the folder.
So, try this:
-
On Windows, go to Control Panel and search for ‘show hidden folders and files’.
You will find a «Folders» option. On the submenu, you will see «Show hidden files and
folders».
[The options look like this.][1] -
Refer this image.
[Click the option shown in the picture][2] -
Click apply and ok.
-
Go to the location i.e. some location in appdata, or the location your android sdk was
about to be installed in. The location should be visible now.
Go to it and delete everything inside. (Don’t delete the sdk folder, just the contents
inside it ) -
Go to android sdk manager and select the same location again. The error should vanish.
Happy installation!
In other words, this error only pops up if you had a previous failed installation.
If you’re unable to do it still, hit me up at twitter @Vishma Pratim Das and I will be happy to assist you.
Thanks.
[1]: https://i.stack.imgur.com/G6P8S.png
[2]: https://i.stack.imgur.com/PeRUZ.png
answered Nov 26, 2020 at 12:32
I just installed Android Studio and has the same problem.
Banged my head for a few hours and found the solution — it’s retarded.
So I installed Android Studio but when it asked me for the config folder, I provided the one from my IntelliJ. Well, turns out that stop the Android Studio setup and I had no SDK. Going to their site the SDK is nowhere to be found. It’s not on any of the links from the other answers either.
My solution was to use a different folder for Android Studio. That ran the setup wizard and downloaded the SDK.
answered Apr 17, 2021 at 14:25
Lubo KanevLubo Kanev
4811 gold badge5 silver badges12 bronze badges
Sharing what worked for me in hopes that it helps someone else.
My issue was that my SDK was not installed together with the Android Studio IDE for some reason. How I managed to trigger the SDK installation was by going to File > Settings on Android Studio, then typing «sdk» in the searchbar. If your android sdk location is empty, click on «edit» right next to it and it should immediately prompt installation for your sdk.
Cheers!
answered Apr 27, 2021 at 18:18
For Linux, do not move/put android sdk under /usr/lib/ directory because it will only have read permissions and other libraries cannot be downloaded.
answered Jun 27, 2021 at 7:11
C:UsersusernameAppDataLocalAndroidsdkextrasintelHardware_Accelerated_Execution_Managerintelhaxm-android.exe
check this location in windows
answered Aug 3, 2016 at 4:58
I created with Adobe Flash an .apk app through Air for Android.
Now I would like to make it ready for the Blackberry App World with this Blackberry online packager: https://bdsc.webapps.blackberry.com/android/bpaa/apk-compatibility-check
Where to I find the Android SDK folder on my Windows PC? Is it bundle with the Adobe Flash Pro installation?
isherwood
57.5k16 gold badges113 silver badges154 bronze badges
asked Feb 20, 2012 at 22:51
If you’re using android studio then…
- Open the Android SDK Manager.
- At the top of the window, just above the list of SDKs, it says «SDK Path: «.
I configured with the defaults and the path, for me, is:
C:Users[account]AppDataLocalAndroidsdk
answered Dec 31, 2014 at 17:27
Steven EversSteven Evers
16.5k19 gold badges78 silver badges124 bronze badges
4
You can find the path in the Android SDK Manager.
On the top it lists the path, the default path in Windows is
C:Users%USERNAME%AppDataLocalAndroidsdk
and on Linux
/home/YourName/Android/Sdk/
Alex Nolasco
18.6k9 gold badges86 silver badges81 bronze badges
answered Feb 20, 2012 at 23:11
ForceForce
6,2947 gold badges53 silver badges84 bronze badges
If you are using windows,
C:Users{your_user}AppDataLocalAndroidsdk
hope this helps.
Brane
3,1772 gold badges40 silver badges53 bronze badges
answered Mar 3, 2017 at 14:15
stodgy.nerdstodgy.nerd
5914 gold badges8 silver badges17 bronze badges
Look for the local.properties
file in the file browser of Android Studio. It will contain the SDK location.
Car4p17
451 silver badge6 bronze badges
answered Jun 22, 2018 at 15:18
Look it up with the Android SDK MAnager. It’s not always obvious how to open up the Android SDK manager. First of all, SDK Manager is a feature of the Android Studio; open that. In Android Studio (as of version 2.3.3 in Windows), the SDK Manager is chosen by an icon on the big toolbar which has an incomprehensible glyph. If you can’t find it, then instead you can select Tools—>Android—>SDK Manager. In the SDK Manager, select Appearance and Behavior—>System Settings—>Android SDK; and read the field «SDK Location». Hopefully you can figure out what you need from there.
I came to this question after having the same problem in the Unity game engine.
answered Dec 15, 2017 at 13:30
user2084572user2084572
3313 silver badges12 bronze badges
When it says that it can only have ASCII characters in your username, if you try to use letters like Ç â ã
, it won’t work. Try to change ã
to a
(without punctuation).
answered Jan 15, 2016 at 22:56
If you are using Visual Studio you can find it in:
C:Program Files (x86)Androidandroid-sdk
If you want to access the Android SDK Manager you can find it inside VS folder:
C:Program FilesMicrosoft Visual Studio{2022}{Community/Proffessional /Enterprise}Common7IDEExtensionsXamarinAndroidSdkManager
answered Nov 24, 2022 at 7:48
BladeMasterBladeMaster
3202 silver badges9 bronze badges
(for lazy devz like me who are looking for copy & paste with no edit)
You can actually use %LOCALAPPDATA%
! Just simply copy and paste the following in explorer
or RUN
%LOCALAPPDATA%AndroidSdk
answered Feb 28 at 23:23
Smallw00dSmallw00d
1011 silver badge4 bronze badges
hi all i have been looking for a solution for almost 3 weeks .. finally i found the solution by my self.
1- go to search bar and wright sdk.
2- copy the file
3- go to android and past it there
i hope it works with as worked with me ..
answered Apr 6, 2019 at 2:55
The Android Software Development Kit (SDK) is a collection of developments using which you can develop apps to be used on the Android platform. You need to install this tool on your computer to do advanced things like rooting your phone or updating the software. However, what happens if you can’t locate the Android SDK folder?
If you’re into tech and writing apps, this is an issue you might have experienced at some point in time. Fortunately, you can locate this tool by following the steps detailed below and finding the exact location of the Android SDK folder.
You’ll also be taken through some of the most frequently asked questions related to the Android SDK folder. Let’s jump ahead and get right ahead and see where you can find the SDK folder.
- Method #1: Open the Run Window
- Method #2: Use Android Studio
- Summary
- Frequently Asked Questions
Method #1: Open the Run Window
The easiest way to locate the Android SDK folder in Windows is by opening the Run window, and here are the steps to follow:
- Click
Windows key + R
. - Paste
%localappdata%AndroidSdk
, which is Android SDK’s default location in Windows. - Press “OK”.
Doing this will immediately take you to the location of the Android SDK folder on your Windows computer. The %localappdata%AndroidSdk
used to help you find the Android SDK folder is a Windows environment variable in your user directory plotted on the Local App Data folder (C:UsersUsernameAppDataLocal
).
Method #2: Use Android Studio
Another method of locating the SDK folder is by using Android Studio. The steps you should follow to pinpoint this folder’s exact location are;
- Launch Android Studio by double-clicking on its desktop icon or entering Android Studio in the Start menu.
- Once Android Studio is open, tap on the “Configure” button.
- Click on the “SDK Manager” option.
- When inside the Android IDE, click on the “File” > “Settings” option, after which Android Studio will launch the Settings window.
- The precise location of the Android SDK location will appear on the “Android SDK Location” field.
- If you still don’t see the Android SDK folder, go to “Appearance & Behavior” > “System Settings” > “Android SDK” page.
- Double-click on the location after locating the Android SDK location and press the
Ctrl + C
shortcut.
After following these simple steps, you’ll locate the precise location of the SDK folder in your Android Studio. Therefore, you can manage it by updating parts of the SDK if updates are available by installing new APIs or SDK tools.
Summary
For many, finding the precise location of the Android SDK folder might appear to be quite complicated. However, this isn’t the case, as you can easily locate the Android SDK folder regardless of where it is on your computer.
This guide has better illustrated this by taking you through the steps you need to follow to pinpoint where the Android SDK folder’s location. After this, you can proceed to use ADB commands or other Android platform tools you can find on the command line. But without knowing where the Android SDK folder is located, you can’t perform this ADB command.
Frequently Asked Questions
Yes, Android SDK can be found integrated into Android Studio, the integrated development environment (IDE) authorized by Google.
The Android SDK path is C: Users<username>AppDataLocalAndroidsdk. You can find this path by opening the Android SDK manager, after which you’ll see the SDK path evidently on your status bar. Remember not to use the Program Files path when installing the Android Studio because of the space in this path.
Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article
SDK is a Software Development Kit. SDK brings together a group of tools that enable programming for Mobile Applications such as Android, and iOS. You can download SDK from the official Google Developers Website for Android and then Extract/put it in the default folder if there is no such then make it. The Default Path of SDK in PC is:
Windows:
sdk.dir = C:UsersUserNameAppDataAndroidsdk
The username above is the name of your PC. If you are not able to see AppData Folder then you have to change the View settings of File Explorer and mark Hidden Items.
Step 1. Go to the top of File Explorer and open drop-down
Step 2. Now go to View > Hidden Items
If this doesn’t work, Add ANDROID_HOME in Environment Variables. Go to System Properties -> Environment Variables -> Add Variable -> put Variable Name and Value.
Step 1. Open System Properties
Step 2. Select New and Insert Variable and Location
Step 3. Add Variable name: ANDROID_HOME and value: as your SDK path.
If your path is something else not in C Drive you have to add that. Make sure you enter the correct path UserName below is the name of your PC. and press OK.
Now check the SDK location in your Android Studio and follow these steps.
Step 1. Go to the FILE > SETTINGS
Step 2. Search for SDK and place your SDK LOCATION.
Last Updated :
09 Feb, 2023
Like Article
Save Article