I'm trying to do a console app in android studio, but when i execute the app it produces an error.
FAILURE: Build failed with an exception.
Where: Initialization script
/private/var/folders/3g/2b70v24d5cqggs_c_tmts3pw0000gn/T/MainApplication_main__.gradle' line: 20
What went wrong: A problem occurred configuring project
:app Could not create task ':app:MainApplication.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.