Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How stop Android Studio from collapsing (closing) all the directories in "Project Files" pane?

Every time I run gradle/build, the project files pane refreshes and closes every directory so I only see:

  • app
  • MyApp

How can I keep them open?

like image 911
Don Rhummy Avatar asked Nov 18 '14 22:11

Don Rhummy


People also ask

Where do Android Studio projects save?

Android Studio stores the projects by default in the home folder of the user under AndroidStudioProjects. The main directory contains configuration files for Android Studio and the Gradle build files.

How do I open the project folder in Android Studio?

Launch Android Studio, and click File > New > Import Project. Locate your project directory, click the build. gradle file you created above to select it, and then click OK to import your project.

Is Android studio outdated?

Yes, Android studio is the new way to develop apps. Eclipse is the oldest tool used to develop apps. Any updates for the android platform will find in Android studio, it's worth to learn.


1 Answers

I just got an answer to the same question -- the solution is to use the "Project" view and not the "Project Files" view!

The Project view will not collapse when rebuilding.

enter image description here

See this question also: Running a build collapses all folders

like image 56
Alchete Avatar answered Sep 29 '22 02:09

Alchete