Catfish
Catfish

Reputation: 75

Android Studio only shows Gradle files in Project and Android in the "Project" side menu, all other folders have nothing to show

I want to know how to make my project files appear in the "Project" side menu pictured here (Here is the Android folder which I mentioned also actually had content).

I can find the files in the file explorer. I'll note that all that I've done is create this project (and a couple others to see if it just didn't set-up right), so I haven't made any changes in Android Studio or the code in the project.

I can reach the files clicking the top row, but this takes time and since this is one of my first android projects I can't find my way around that well - So having all files visible is pretty much a must.

All of the tutorials and explanations of how to use Android Studio already have the files visible there. I would like some help so I can actually start coding :) Thanks

Upvotes: 2

Views: 2154

Answers (3)

Abdul Basit
Abdul Basit

Reputation: 141

Sync Project with Gradle Files

works for me

Upvotes: 0

mehmoodnisar125
mehmoodnisar125

Reputation: 1527

I delete .idea and .gradle folders and restart android studio.

this resolve my issue.

thanks.

Upvotes: 5

Eric Labelle
Eric Labelle

Reputation: 1977

Usually, the reason why files disappears is either you had a gradle sync problem when importing the project OR there is a problem with your settings.gradle who's in charge to tell AS which module to load for the project. (usually simply include ':app' on new projects).

Try File / Sync Project with Gradle Files

You can also try to simply Close the project and reopening it (File / Close Project) If this does not work, you should try and post your app/build.gradle file to help further.

Upvotes: 3

Related Questions