You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executing tasks: [:app:JavaBasics.main()] in project C:\Users\PC\AndroidStudioProjects\HelloAndroid\ app
Configure project :app
The JavaExec.main property has been deprecated. This is scheduled to be removed in Gradle 8.0.
Please use the mainClass property instead. See https://docs.gradle.org/7.3.3/dsl/org.gradle.api tasks.JavaExec.html#org.gradle.api.tasks. JavaExec:main for more details.
at JavaBasics_main___bifh9cjzt8vxkptppv3mbuljd$_run_closure1$_closure2$_closure3.docall
(C\Users\PC\AppData\Local\Temp\JavaBasics_main__.gradle:23)
(Run with -- stacktrace to get the full stack trace of this deprecation warning.)
Could not create task ':app:JavaBasics.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.
Executing tasks: [:app:JavaBasics.main()] in project C:\Users\PC\AndroidStudioProjects\HelloAndroid\ app
The JavaExec.main property has been deprecated. This is scheduled to be removed in Gradle 8.0.
Please use the mainClass property instead. See https://docs.gradle.org/7.3.3/dsl/org.gradle.api tasks.JavaExec.html#org.gradle.api.tasks. JavaExec:main for more details.
at JavaBasics_main___bifh9cjzt8vxkptppv3mbuljd$_run_closure1$_closure2$_closure3.docall
(C\Users\PC\AppData\Local\Temp\JavaBasics_main__.gradle:23)
(Run with -- stacktrace to get the full stack trace of this deprecation warning.)
FAILURE: Build failed with an exception.
Initialization script 'C:\Users\PC\AppData\Local\Temp\JavaBasics_main___.gradle' line: 41
A problem occurred configuring project ':app'.
BUILD FAILED in 3s
The text was updated successfully, but these errors were encountered: