当我试图在android studio上构建一个kotlin程序时,它会显示通知:
*Unable to find Gradle tasks to build: [:].
Build mode: COMPILE_JAVA.
Tests: All.*
当我尝试调试或运行以下代码时,就会发生这种情况
fun main(){
println "hello world \n I am Michael Girum."
}
发布于 2022-10-18 08:04:42
在Android中,在项目源文件下,在android>app>src下,右键单击build.gradle,然后单击Run 'android‘
这将比编译,您可以运行的项目。
https://stackoverflow.com/questions/72416676
复制相似问题