Skip to content
Advertisement

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

I have downloaded this source code https://cdn.cs50.net/2019/fall/tracks/android/pokedex/pokedex.zip

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!

Advertisement

Answer

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.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement