How can I change default home directory for Android studio

Viewed 2486

My workspace for android studio project is in C:\AndroidStudioProjects. I try this Android Studio: Default project directory but it's not working... plz help me to quickly access projects

Android Studio 2.1 Open File or Project Dialog

As shown in the screenshot, there must be some configuration file to change that.

Looking for some hack. So that when I click the home button and it opens my specified directory. for windows platform.

3 Answers

Create a project and save like that address: /home/USER/Projects/AndroidStudio/MyApplication

So, the new future projects will be: /home/USER/Projects/AndroidStudio.

This worked for me Android Studio 4.0.1:

  1. Close Android Studio.

  2. Navigate to C:\Users[Username].AndroidStudio4.0\config\options

  3. Locate recentProjects.xml and open it.

  4. Scroll down the page you will notice: <option name="lastProjectLocation" value="$USER_HOME$/AndroidStudioProjects" />

  5. Change $USER_HOME$/AndroidStudioProjects to your desired location lets say desktop: $USER_HOME$/Desktop/

  6. Reopen Android studio.

Android studio does not allow you to set the home directory. It is better to use recent project.

Related