Being told project is not using the gradle build system when it is

后端 未结 6 1349
情书的邮戳
情书的邮戳 2021-02-13 01:34

When I open my project in Android Studio, I always get this. \"Error

Back when Android Stu

6条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-13 02:11

    I fixed this issue with the following steps:

    1. Make sure that the following two files are in your project directory. If not, create a new one with reference of your other Android projects. These are default auto-generated files.

      1. settings.gradle
      2. build.gradle
    2. If it is still showing any errors when you open your project, restart your project by selecting file/(invalidate /restart).

提交回复
热议问题