I cant preview my GeoQuuz

Hi all

I need help.
After writing all the codes for GeoQuiz and i hit the preview button,

It says

Preview is unavailable until after a successful project.

My Android Studio suddenly has Gradle in its root file. I dont know what is this Gradle?

Your android studio couldn’t build the project with gradle files. You can see the build view for investigating the cause.

And you can also try IntelliJ IDEA as an alternative for Android Studio