Android Studio project files not showing up

前端 未结 7 2171
悲哀的现实
悲哀的现实 2021-02-19 11:59

I have a library project in Android Studio that has been working fine, but today I went to work on it and all of the files are missing except for a few git files. The folders/fi

7条回答
  •  终归单人心
    2021-02-19 12:50

    In my case i have a slash in the subproject settings.gradle

    As an example, this did not work:

    include ":somedir/library"
    

    But changing it to this fixed it:

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

提交回复
热议问题