Android Studios unable to find gradle tasks to build a program

Viewed 401

When I try to build a kotlin program on android studio, it displays the notification:

*Unable to find Gradle tasks to build: [:]. 
Build mode: COMPILE_JAVA. 
Tests: All.*

This happens when I try to debug or run a code like

fun main(){
    println "hello world \n I am Michael Girum."
}
0 Answers
Related