When I open Android SDK Manager from Android Studio, the SDK Path displayed is:
\\android-studio\\sdk
I want to change th
File
menu.Project Structure
.SDK Location
text box.
From the next time Android Studio will use this location for all your projects.N.B.: Avoid having spaces in the path as it may sometimes lead to issues.
for projects default:
You'll get a Welcome to Android Studio Dialog. In that:
(Example SDK location:
C:\android-sdk
; I have sub-folders likeadd-ons
,platforms
etc underC:\android-sdk
)
Above answers are pretty correct, but some times Android Studio, does not like to refresh after SDK path change, a quick solution is to make some change in you Build file, and click on Sync. It will refresh you project.
Happy coding... :)
In Android Studio 2.2.3 I think you can change default SDK location for all projects from the top menu:
File -> Project Structure...
A window like below shows up:
I'm guessing from the responses that people aren't understanding your question... If I'm right in that you want to have ~\Desktop\github\ then changing the SDK location isn't what you're after.
From Android Studio 3.2.1: From the new project dialog, choose Configure -> Preferences -> Tools -> Terminal -> Start Directory
Put the folder you want as your project default in the field.
e.g. Mine is set to ~/Desktop/github/ since all my work is in ~/Desktop/github/