Change the home directory default location in Android Studio

后端 未结 2 1614
清酒与你
清酒与你 2021-01-11 23:57

I figured out how to change the default save location/workspace by creating a new project and picking a different directory.
Before, it was C:\\Users\\Name\\And

相关标签:
2条回答
  • 2021-01-12 00:49

    In Intellij/Android Studio, the project itself stores the directory of it's own location. In Eclipse, the IDE itself stores the directory of the projects.

    I made a list comparing how Android Studio and Eclipse views workspaces and projects here= Change default save location of projects (or Workspace ) in Android Studio

    I think you basically have to move each project or copy and paste all your projects somewhere else. This link might be helpful= How to move and rename a project in android studio?

    0 讨论(0)
  • 2021-01-12 01:02

    When we want to open a existing project or anything in Android Studio, this window pops up. The four buttons for path variables on top left of the window is used to help navigating to most frequently used directories as Home Directory, Desktop Directory, Project Directory and Module Directory. The first two are inherited from system variables and the last two are retrieved from current project settings (that's why they're inactive when no project is opened).

    What Jason need as I do either is just a project repository. I use D:\Workspace\AndroidStudio\ as my project repository storing all my project files. So it's rather inconvenient to navigate to my projects, I have to left click at least 5 times to my repository.

    Android Studio doesn't allow users to specify a repository directory and even if it supports user-defined path variables, I can't figure out how to use it in this window. I guess we have to add a button to quickly navigate to repo directory and that's probably too trivial for IDE developers.

    Finally, I discovered the Recent Files button which can largely help me navigating although not perfectly. I suggest you use this sub-optimal solution instead if you're suffering from mouse-clicking pain like me.

    0 讨论(0)
提交回复
热议问题