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

后端 未结 6 1431
孤独总比滥情好
孤独总比滥情好 2021-02-13 01:20

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

Back when Android Stu

6条回答
  •  死守一世寂寞
    2021-02-13 02:15

    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).

提交回复
热议问题