Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\coder\dust\android\app\build.gradle' line: 4
* What went wrong:
An exception occurred applying plugin request [id: 'dev.flutter.flutter-gradle-plugin']
> Failed to apply plugin 'dev.flutter.flutter-gradle-plugin'.
> Cannot add task 'generateLockfiles' as a task with that name already exists.
* 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 1s
Running Gradle task 'assembleDebug'... 1,978ms
Error: Gradle task assembleDebug failed with exit code 1
As the error says, you are trying to add a task with name generateLockfiles
twice. Just from the error message it is impossible to provide more guidance than the error message already does.