I've installed VS 2017 in its default path (C drive) but its used up most of my drive space due to the large Android folder at C:\Users\USERNAME\Local\Android. This folder was auto created by the VS 2017 installer. How do I move it to another drive and have VS detect it?
I've tried these solutions and they don't work with VS 2017.
How to make Visual Studio 2015 installer know that I already have Android SDK?
Moving default AVD configuration folder (.android)
I found the answer at last. Changing the ANDROID_SDK_HOME environment var had no effect. The only way is moving the folder by hand, and then changing the Android SDK path setting under Options > Xamarin > Android Settings.
Please be reminded you also need to change the Start Menu shortcut of SDK Manager and ADK Manager. It is especially important if you "copy" the SDK files to new location. Your old shortcuts are still valid and opening SDK Manager from Start Menu will haunt you with the old SDK path.
I hope you be fine. I had the same problem.
After last update all, every was restored to write. Try include Android SDK using Visual Studio Installer.
And remember. VS must be opened as Administration always.
A this point in time my SDK and affiliated tools are stored on my C ( C:\User\Jeff\App\AppData\Local\Android\sdk) drive is there a way of moving everything to another drive without android studio or other programs blowing up with errors?
p.s. im new to this sorry
If you move the SDK, the next time you open Android Studio, it should ask for the location again. You can also manually retarget it via File > Project Structure > SDK Location.
I have Eclipse and android studio in my PC. For Eclipse and android studio i am using same sdk.
But today i have updated my android studio to 1.0 beta and by mistake i have select wrong configuration for the android studio, that's why it has download new sdk to another location.
Now, I have two android sdk at different location.
One at C:/some_directory/sdk (Which have new packages)
and another at D:/some_directory/android_sdk (which have old packages)
Now, both have different packages downloaded. I don't want to download it again. So what i want is, i want to copy the new sdk contain to old one to get all packages in one place (Old place). So, is it possible to do that? or i must have to update old packages to get it effected by new packages?
Please let me know for this thing so that i can update my old sdk and start work on same.
You can manually set SDK location in Android Studio:
Project Structure -> SDK Location -> Choose your SDK folder
And in Eclipse:
Window -> Preferences -> Android -> SDK Location
Before do anything it's safe to keep backup copy of both sdk..
After that..
in OLD_SDK directory copy content from NEW_SDK directory
and now use this "OLD_SDK" path in both version..
Yes you can do it like this.. Hope it helps..
I just download android studio, set it up and installed everything from the sdk.
i noticed now that my sdk location is on this path: c:\users\myname\appdata\... that location is hidden, so i have to show the hidden folders to access it.
should I move that folder to inside the android studio folder?
and what should I do in order to tell the android studio that the sdk folder has been changed, or the android studio will know that itself? and promote me to set the new location?
If you would like easier manual access to the files of the SDK, yes you should change it. Just move it to a location you prefer and when you launch android Studio it will notice that the default SDK location has been destroyed, so it will ask you to tell it where the SDK is, just tell it the location of the SDK.
I'm trying to setup Android Studio on a new install of Mac OS X Yosemite. I downloaded the Android Studio Beta v0.8.14 from here: https://developer.android.com/sdk/installing/studio.html and upon launching it complained about not having an SDK (although the download page indicates it should include the SDK). I tried searching after installing for the SDK and can't find it (a few other posts indicate /Applications/Android Studio.app/sdk but that location doesn't exist). Where is the SDK installed and what is required to set it up?
Go to the SDK Manager and click Edit... next to the field for the location of the SDK. Then an "SDK Setup" window should display. There you can download the SDK.
Edit: This answer is deprecated as Android Studio seems to bundle everything since a while already.
Old answer
It seems the android-studio-bundle version is no longer available in the download page (instead there are only android-studio-ide). When you start Android Studio, it won't let you create a new projet until you configure the SDK location.
That means you have to download the SDK separately here, extract it somewhere, and configure it on Configure->Project Defaults->Project Structure. After that, the SDK Manager icon will be enabled and you can download the tools you want.
I had the same problem on Windows. After I re-installed it a few times, I found that the SDK was installed but hidden in C:\Users\<user name>\AppData\Local\Android\sdk.
Information for Windows
For some reason, which I have no time to investigate, Android seems to provide, currently, the IDE and the SDK separately, while in the Dev Webpage says the opposite.
This is the "complete" (false!) tool I have just downloaded: android-studio-ide-171.4443003-windows.exe (SDK is missing here, note the "ide" in the file name).
And this is the real complete tool I had downloaded few months ago, from the same place...: android-studio-bundle-162.3871768-windows.exe
Note that this last one has the "bundle" in the file name.
Please, download the bundle (IDE+SDK) from here:
https://dl.google.com/dl/android/studio/install/2.3.1.0/android-studio-bundle-162.3871768-windows.exe?hl=ko
I want to suppose (¿?) that similar link you can find for Linux or macOS just Googling for it.
Hope this helps!
It worked like this for me
Downloaded the Android Studio
Install Android Studio
Open Android Studio after installation.
You will get a dialog box to import settings if you already have Intellij installed on your machine. Say "Do not Import". Otherwise continue to next step.
It will ask you in the dialog box to pre-configure such as theme, path etc.
Just click next next...and then Finish. You will see the SDK tool will start downloading.
After installation is finished. You can find it in this path: C:\Users\<user name>\AppData\Local\Android\sdk
If you have ever installed Android Studio before and then removed it, it won't reinstall the SDK automatically (speculation: some Windows setting somewhere).
The solution is starting Android Studio and then
File -> Manage IDE Settings -> Restore Default Settings
This will wipe any custom settings you don't have at this point and trigger the SDK install
What Pablo wrote is misleading.
This is the "complete" (false!) tool I have just downloaded:
android-studio-ide-171.4443003-windows.exe (SDK is missing here, note
the "ide" in the file name).
Yes, it is IDE only, but after you install this IDE and first time run it, SDK will be downloaded automatically. So there is no need to download some outdated bundles. Just use default "green button" on https://developer.android.com/studio/index.html
I'm using Ubuntu, and had previously installed Android Studio. It was using too much space, so I deleted it. Now when I downloaded it and started ./studio.sh, it found my previous installation configuration directory and asked to import from there. I did, and then this problem occurred.
I put the directory .Android Studio 3.3 in the trash and restarted ./studio.sh, and it imported the SDK automatically for me. That was good, because I couldn't find it where it was supposed to be according to the dialog box. The 3.3 above is from the version of Android Studio I was installing.
in my case, my country is forbidden from google, and my PC's time zone was set by my counrty.
after I change my timezone to another country my problem solved and android studio download SDK and nkd easily
Re-install studio. If ANDROID_HOME is set to custom location then it will install sdk there else it will install SDK in C:\Users<user name>\AppData\Local\Android\sdk
Note:this is a temporary fix
If you have Eclipse then you can use that SDK for emulation.
Just run the sdk manager and emulate a version of android. Then while you are asking for emulating something ie while running code it will show your emulator as online and you can even use it.
Hope this helps you.
All the Best...