I've been developing on Eclipse for years and have just started a new project on Android Studio.
I'm noticing that every time I run a build, Android Studio collapses ALL the folders in the Project Files browser, such that they need to be re-expanded to get back to where I want them.
This is what I'm left with:
-> app
-> MyApplicationName
For me, this is incredibly annoying and unnecessarily disruptive to the development process. Yet, I don't see a solution online, so I'm suspecting I'm missing something obvious...
Is there a way to prevent Studio from auto-collapsing the Project Files browser?
Above your the file directory view in Android Studio is a drop down which currently is most likely set to Android. Change it to Project and you should be able to see all your files. Lifesaver!
Yes, you can delete the Build folder. If you are running Windows and you are not able to delete the folder, make sure you are the owner of the folder. Go to folder properties/security and check if your name is listed as the owner.
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. The application relevant files are contained in the app folder.
I think you want to use the "Project" view, and not the "Project Files" view. I had this problem when I first switched from Eclipse to Android Studio and found it was because I'd set the file browser (top left) to look at Project files and not Project. The normal Project view does much the same thing and doesn't collapse when running tests.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With