FAILURE: Build failed with an exception. HELP PLEASE

9:37:18 AM: Executing task ‘Main.main()’…

Executing tasks: [Main.main()] in project C:\Users\maroz\AndroidStudioProjects\JavaLearning

FAILURE: Build failed with an exception.

  • Where:
    Initialization script ‘C:\Users\maroz\AppData\Local\Temp\Main_main__.gradle’ line: 21

  • What went wrong:
    A problem occurred configuring project ‘:app’.

Could not create task ‘:app:Main.main()’.
SourceSet with name ‘main’ not found.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 154ms
9:37:18 AM: Task execution finished ‘Main.main()’.

hello ,did you solve the problem.