Skip to content

ANDROID STUDIO: this project is not a gradle-based project

I have downloaded this source code

When I hit “sync project with gradle files”, it says that this project is not a gradle based project.

I would be very thankful if someone can help me!


Make sure you open the project from its root directory. i.e. the directory which contains the top level build.gradle file.

The missing top level gradle file is what causes this error.