Android Studio project files not showing

I have a library project in Android Studio that works fine, but today I went to work on it and all the files are missing, except for a few git files. Folders / files are, when I look in the project folder on my hard drive, they simply do not appear in Android Studio. Here is a screenshot: enter image description here

I tried reinstalling and updating Android Studio, but that didn't work. Any ideas on what's going on here? How can i fix this?

+9
source share
6 answers

Try it Import Project...and go to the project. Select a build.gradlefile.

, Android . , , .

+18
Go to File > Project Structure > Project Settings > Modules.

+ . " " .

"" .

, . .

+3

Sync Project with Gradle Files Android Studio, , Project Android Studio.

+1

settings.gradle

, :

include ":somedir/library"

But changing it to this fixed it:

include ":somedir-library"
project(":somedir-library").projectDir = new File(settingsDir, "somedir/library")
0
source

Perhaps you didn’t import properly because of the long wait time, as most of us did the first time we tried it simply and simply need a good Internet connection with fast ping? ( http://from-dreams-to-real-life.blogspot.co.il/2017/11/how-to-build-and-import-android-project.html )

0
source

Go to

File > Project Structure> click on + > then set it to android
0
source

All Articles