Build failed with an exception error in Kotlin
问题 Got this error after updating my Kotlin plugin on android studio. package com.example.test fun main(args: Array<String>) { println("Hello world") } This is the error I receive: * Where: Initialization script '/private/var/folders/bn/st769wd16nv1d5_wccw8_tm00000gn/T/Test_main__2.gradle' line: 27 * What went wrong: A problem occurred configuring project ': app'. > Could not create task ':app:Test.main()'. > SourceSet with name 'main' not found. When I run a stack trace, this is the response I