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.