e: C:\yogesh\widgets\android\app\src\main\kotlin\com\example\widgets\MainActivity.kt: (8, 8): Expecting an element
e: C:\yogesh\widgets\android\app\src\main\kotlin\com\example\widgets\MainActivity.kt: (8, 9): Unexpected tokens (use ';' to separate expressions on the same line)
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:compileDebugKotlin'.
Compilation error. See log for more details
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.
e: C:\yogesh\widgets\android\app\src\main\kotlin\com\example\widgets\MainActivity.kt: (8, 8): Expecting an element e: C:\yogesh\widgets\android\app\src\main\kotlin\com\example\widgets\MainActivity.kt: (8, 9): Unexpected tokens (use ';' to separate expressions on the same line)
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:compileDebugKotlin'.
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 6m 49s Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm)