Android Studio: default project directory

Whenever I create a new project in Android Studio , he wants to put it in the default shared folder in a location similar to (depending on the OS - Ubuntu here):

 /home/USER/AndroidStudioProjects/ 

I want to change this directory to another location. Besides choosing this new location when creating each project, is there a parameter (could not be found) or path variable (could not find any documentation) that can set this directory (say /home/USER/Projects/AndroidStudio/ ) as the value default?

Something similar to changing the workspace in Eclipse is what I'm looking for.

+75
android android-studio path project
Jul 23 '13 at 2:40
source share
7 answers

At some point, I also tried to do this, but Android Studio does not work quite like Eclipse.

This is simpler: if you create a project on, say /home/USER/Projects/AndroidStudio/MyApplication , there all new projects will default to /home/USER/Projects/AndroidStudio .

You can also edit ~/.AndroidStudioPreview/config/options/ide.general.xml (on linux) and change the line that reads <option name="lastProjectLocation" value="$USER_HOME$/AndroidStudioProjects" /> to <option name="lastProjectLocation" value="$USER_HOME$/Projects/AndroidStudio" /> , but keep in mind that as soon as you create a project somewhere else, it will change to that location and all new projects will be by default.

Hope this helps, but the truth is that this is actually not much more than what I explained here.

Let me know if you need anything else.

+74
Jul 30 '13 at 12:43 on
source share

I found a simple way:

  • Open a new project;
  • Change the name of the project location by typing, rather than the Browse ... button;
  • Now the Next button will appear.
+10
Dec 26 '13 at 15:28
source share

In android studio 2.3.3 (windows) you should go to C: \ User \ (Name) \ .AndroidStudio2.3 \ config \ option open recentProjects.xml and change your directory

<option name="lastProjectLocation" value="YOUR DIRECTORY" />

+9
Jul 20 '17 at 23:39
source share

The top of the Android Studio title bar shows the full file path or location. View this image

+2
Feb 02 '17 at 9:14
source share

I have Android studio version 3.1.2, it shows the full path of the project when you select the Build tab in the lower left corner of the studio location.

enter image description here

+2
Aug 4 '18 at 17:08
source share

File โ†’ Other settings โ†’ Default settings ... โ†’ Terminal โ†’ Project settings โ†’ Launch directory โ†’ ("Browse or set the path to the project directory")

Now close the current project and start a new project. Then let your eyes see the project location

+1
Jul 14 '18 at 8:03
source share

Try this:

File\Other Settings\Preferences for New Projects\Teminal\Start Directory

0
Jul 22 '19 at 9:03
source share



All Articles