简体   繁体   中英

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!

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM