Missing top-level build.gradle in multi-module project

前端 未结 6 438
被撕碎了的回忆
被撕碎了的回忆 2021-01-01 14:15

I\'m missing the \"Top-Level\" project build.gradle script from my project:

\"enter

6条回答
  •  感情败类
    2021-01-01 14:37

    1. close your project
    2. rename the project directory (in the workspace)
    3. open the project with the new name
    4. wait for gradle sync, build.gradle (project) should be added to the Gradle scripts
    5. close the project
    6. rename the project directory with the original name
    7. reopen the project with its good name
    8. wait gradle sync, the build.gradle should be here again...

提交回复
热议问题