Repository: flutter
Issue: Flutter create builds fail with  `Error when reading '/main.dart': The system cannot find the file specified.`
Labels: platform-android,tool,a: build,P2,needs repro info,team-android,triaged-android

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

1. Create a flutter project with: `flutter create -e --org <ORG> <NAME>`
2. Run build with: `flutter build apk --debug`


### Expected results

The newly created project to have a finished debug build.

### Actual results

Throws `/main.dart: Error: Error when reading '/main.dart': The system cannot find the file specified.`

See verbose error log [here](https://pastebin.com/H6bcGNh4).

### Code sample

<details><summary>Code sample</summary>
-ignored-
</details>


### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>

![image](https://github.com/flutter/flutter/assets/69104500/7f807411-1287-4ed6-9f97-0ff28ad67c9e)

</details>


### Logs

<details><summary>Logs</summary>

```console
PS C:\Users\<REDACTED>\Code\Experimental\build_test> flutter build apk --debug --verbose
[ +349 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +6 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[  +10 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +167 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +8 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +325 ms] Skipping pub get: version match.
[ +208 ms] Generating C:\Users\<REDACTED>\Code\Experimental\build_test\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +457 ms] Android Studio version could not be detected, skipping Gradle-Java version compatibility check.
[  +20 ms] Using gradle from C:\Users\<REDACTED>\Code\Experimental\build_test\android\gradlew.bat.
[   +4 ms] Running Gradle task 'assembleDebug'...
[  +15 ms] executing: [C:\Users\<REDACTED>\Code\Experimental\build_test\android/] C:\Users\<REDACTED>\Code\Experimental\build_test\android\gradlew.bat --full-stacktrace --info
-Pverbose=true -Ptarget-platform=android-arm,android-arm64,android-x64 -Ptarget=lib\main.dart -Pbase-application-name=android.app.Application -Pdart-obfuscation=false
-Ptrack-widget-creation=true -Ptree-shake-icons=false assembleDebug
[+1833 ms] Initialized native services in: C:\Users\<REDACTED>\.gradle\native
[   +1 ms] Initialized jansi services in: C:\Users\<REDACTED>\.gradle\native
[ +616 ms] Found daemon DaemonInfo{pid=1820, address=[584e8bd2-9e60-4a6d-bbe4-07830ed7fc70 port:62813, addresses:[/127.0.0.1]], state=Idle, lastBusy=1699419640730,
context=DefaultDaemonContext[uid=c7128dfb-2e4a-4ea7-bdfb-a383ed05dae8,javaHome=C:\Program Files\Android\Android
Studio\jbr,daemonRegistryDir=C:\Users\<REDACTED>\.gradle\daemon,pid=1820,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/
java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.pre
fs/java.util.prefs=ALL-UNNAMED,--add-opens,java.base/java.nio.charset=ALL-UNNAMED,--add-opens,java.base/java.net=ALL-UNNAMED,--add-opens,java.base/java.util.concurrent.atomic=ALL-UNNAMED,-
Xmx1536M,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]} however its context does not match the desired criteria.
[   +5 ms] Java home is different.
[   +1 ms] Wanted: DefaultDaemonContext[uid=null,javaHome=C:\Program
Files\Java\jdk-17,daemonRegistryDir=C:\Users\<REDACTED>\.gradle\daemon,pid=12888,idleTimeout=null,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.b
ase/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java
.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.base/java.nio.charset=ALL-UNNAMED,--add-opens,java.base/java.net=ALL-UNNAMED,--add-opens,java.base/java.util.concurrent.atomic=ALL-UNNAM
ED,-Xmx1536M,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]
[   +7 ms] Actual: DefaultDaemonContext[uid=c7128dfb-2e4a-4ea7-bdfb-a383ed05dae8,javaHome=C:\Program Files\Android\Android
Studio\jbr,daemonRegistryDir=C:\Users\<REDACTED>\.gradle\daemon,pid=1820,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/
java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.pre
fs/java.util.prefs=ALL-UNNAMED,--add-opens,java.base/java.nio.charset=ALL-UNNAMED,--add-opens,java.base/java.net=ALL-UNNAMED,--add-opens,java.base/java.util.concurrent.atomic=ALL-UNNAMED,-
Xmx1536M,-Dfile.encoding=windows-1252,-Duser.country=US,-Duser.language=en,-Duser.variant]
[   +4 ms]   Looking for a different daemon...
[ +183 ms] The client will now receive all logging from the daemon (pid: 11384). The daemon log file: C:\Users\<REDACTED>\.gradle\daemon\7.5\daemon-11384.out.log
[   +1 ms] Starting 13th build in daemon [uptime: 1 hrs 12 mins 6.853 secs, performance: 100%]
[        ] Using 4 worker leases.
[        ] Now considering [C:\Users\<REDACTED>\Code\Experimental\build_test\android, C:\SDKs\flutter\packages\flutter_tools\gradle] as hierarchies to watch
[        ] Watching the file system is configured to be enabled if available
[ +301 ms] File system watching is active
[   +1 ms] Starting Build
[        ] Settings evaluated using settings file 'C:\Users\<REDACTED>\Code\Experimental\build_test\android\settings.gradle'.
[        ] Now considering [C:\SDKs\flutter\packages\flutter_tools\gradle, C:\Users\<REDACTED>\Code\Experimental\build_test\android] as hierarchies to watch
[        ] Projects loaded. Root project using build file 'C:\Users\<REDACTED>\Code\Experimental\build_test\android\build.gradle'.
[        ] Included projects: [root project 'android', project ':app']
[ +402 ms] > Configure project :gradle
[   +1 ms] Evaluating project ':gradle' using build file 'C:\SDKs\flutter\packages\flutter_tools\gradle\build.gradle.kts'.
[        ] Caching disabled for Kotlin DSL accessors for project ':gradle' because:
[  +15 ms]   Build cache is disabled
[        ] Skipping Kotlin DSL accessors for project ':gradle' as it is up-to-date.
[  +11 ms] file or directory 'C:\SDKs\flutter\packages\flutter_tools\gradle\src\main\resources', not found
[  +42 ms] file or directory 'C:\SDKs\flutter\packages\flutter_tools\gradle\src\main\java', not found
[  +29 ms] > Task :gradle:extractPluginRequests NO-SOURCE
[        ] Skipping task ':gradle:extractPluginRequests' as it has no source files and no previous output files.
[   +1 ms] > Task :gradle:generatePluginAdapters UP-TO-DATE
[        ] Caching disabled for task ':gradle:generatePluginAdapters' because:
[        ]   Build cache is disabled
[        ] Skipping task ':gradle:generatePluginAdapters' as it is up-to-date.
[        ] :gradle:compileJava (Thread[Execution worker Thread 2,5,main]) started.
[   +4 ms] > Task :gradle:compileJava NO-SOURCE
[   +1 ms] Skipping task ':gradle:compileJava' as it has no source files and no previous output files.
[   +7 ms] :gradle:compileJava (Thread[Execution worker Thread 2,5,main]) completed. Took 0.002 secs.
[   +9 ms] Resolve mutations for :gradle:compileGroovy (Thread[Execution worker Thread 2,5,main]) started.
[   +2 ms] Resolve mutations for :gradle:compileGroovy (Thread[Execution worker Thread 2,5,main]) completed. Took 0.001 secs.
[ +152 ms] > Task :gradle:compileGroovy UP-TO-DATE
[ +111 ms] Caching disabled for task ':gradle:compileGroovy' because:
[   +1 ms]   Build cache is disabled
[        ] Skipping task ':gradle:compileGroovy' as it is up-to-date.
[        ] Resolve mutations for :gradle:compileGroovyPlugins (Thread[Execution worker Thread 3,5,main]) started.
[   +3 ms] Resolve mutations for :gradle:compileGroovyPlugins (Thread[Execution worker Thread 3,5,main]) completed. Took 0.0 secs.
[   +1 ms] > Task :gradle:compileGroovyPlugins NO-SOURCE
[   +1 ms] Skipping task ':gradle:compileGroovyPlugins' as it has no source files and no previous output files.
[        ] Resolve mutations for :gradle:pluginDescriptors (Thread[Execution worker Thread 3,5,main]) started.
[        ] Resolve mutations for :gradle:pluginDescriptors (Thread[Execution worker Thread 3,5,main]) completed. Took 0.0 secs.
[   +9 ms] > Task :gradle:pluginDescriptors UP-TO-DATE
[   +5 ms] Caching disabled for task ':gradle:pluginDescriptors' because:
[   +1 ms]   Build cache is disabled
[  +14 ms] Skipping task ':gradle:pluginDescriptors' as it is up-to-date.
[   +7 ms] Resolve mutations for :gradle:processResources (Thread[Execution worker Thread 3,5,main]) started.
[  +11 ms] Resolve mutations for :gradle:processResources (Thread[Execution worker Thread 3,5,main]) completed. Took 0.0 secs.
[   +1 ms] :gradle:processResources (Thread[Execution worker Thread 3,5,main]) started.
[   +2 ms] > Task :gradle:processResources UP-TO-DATE
[   +1 ms] Caching disabled for task ':gradle:processResources' because:
[        ]   Build cache is disabled
[        ] Skipping task ':gradle:processResources' as it is up-to-date.
[        ] :gradle:processResources (Thread[Execution worker Thread 3,5,main]) completed. Took 0.003 secs.
[        ] :gradle:classes (Thread[Execution worker Thread 3,5,main]) started.
[   +1 ms] > Task :gradle:classes UP-TO-DATE
[        ] Skipping task ':gradle:classes' as it has no actions.
[   +2 ms] :gradle:classes (Thread[Execution worker Thread 3,5,main]) completed. Took 0.0 secs.
[   +8 ms] :gradle:jar (Thread[Execution worker Thread 3,5,main]) started.
[   +1 ms] > Task :gradle:jar UP-TO-DATE
[ +164 ms] Caching disabled for task ':gradle:jar' because:
[  +86 ms]   Build cache is disabled
[  +54 ms] Skipping task ':gradle:jar' as it is up-to-date.
[  +22 ms] :gradle:jar (Thread[Execution worker Thread 3,5,main]) completed. Took 0.007 secs.
[   +9 ms] > Configure project :app
[   +4 ms] Evaluating project ':app' using build file 'C:\Users\<REDACTED>\Code\Experimental\build_test\android\app\build.gradle'.
[  +11 ms] file or directory 'C:\SDKs\flutter\packages\flutter_tools\gradle\src\main\resources', not found
[   +1 ms] file or directory 'C:\SDKs\flutter\packages\flutter_tools\gradle\src\main\java', not found
[        ] file or directory 'C:\SDKs\flutter\packages\flutter_tools\gradle\src\main\resources', not found
[        ] file or directory 'C:\SDKs\flutter\packages\flutter_tools\gradle\src\main\java', not found
[   +1 ms] Resolve mutations for :gradle:extractPluginRequests (Thread[included builds,5,main]) started.
[        ] Resolve mutations for :gradle:extractPluginRequests (Thread[included builds,5,main]) completed. Took 0.001 secs.
[        ] :gradle:extractPluginRequests (Thread[included builds,5,main]) started.
[        ] :gradle:extractPluginRequests (Thread[included builds,5,main]) completed. Took 0.02 secs.
[        ] Resolve mutations for :gradle:generatePluginAdapters (Thread[included builds,5,main]) started.
[        ] Resolve mutations for :gradle:generatePluginAdapters (Thread[included builds,5,main]) completed. Took 0.0 secs.
[        ] :gradle:generatePluginAdapters (Thread[included builds,5,main]) started.
[  +27 ms] :gradle:generatePluginAdapters (Thread[included builds,5,main]) completed. Took 0.001 secs.
[   +4 ms] Resolve mutations for :gradle:compileJava (Thread[included builds,5,main]) started.
[   +1 ms] Resolve mutations for :gradle:compileJava (Thread[included builds,5,main]) completed. Took 0.0 secs.
[  +39 ms] :gradle:compileGroovy (Thread[included builds,5,main]) started.
[   +1 ms] :gradle:compileGroovy (Thread[included builds,5,main]) completed. Took 0.047 secs.
[   +1 ms] :gradle:compileGroovyPlugins (Thread[included builds,5,main]) started.
[        ] :gradle:compileGroovyPlugins (Thread[included builds,5,main]) completed. Took 0.0 secs.
[        ] :gradle:pluginDescriptors (Thread[included builds,5,main]) started.
[        ] :gradle:pluginDescriptors (Thread[included builds,5,main]) completed. Took 0.001 secs.
[        ] Resolve mutations for :gradle:classes (Thread[included builds,5,main]) started.
[   +1 ms] Resolve mutations for :gradle:classes (Thread[included builds,5,main]) completed. Took 0.0 secs.
[  +10 ms] Resolve mutations for :gradle:jar (Thread[included builds,5,main]) started.
[   +1 ms] Resolve mutations for :gradle:jar (Thread[included builds,5,main]) completed. Took 0.0 secs.
[        ] producer locations for task group 0 (Thread[included builds,5,main]) started.
[        ] producer locations for task group 0 (Thread[included builds,5,main]) completed. Took 0.0 secs.
[   +8 ms] Using Kotlin Gradle Plugin gradle70 variant
[   +2 ms] Parsed shrinker version: 3.3.70
[        ] > Configure project :
[        ] Evaluating root project 'android' using build file 'C:\Users\<REDACTED>\Code\Experimental\build_test\android\build.gradle'.
[        ] All projects evaluated.
[        ] Task name matched 'assembleDebug'
[        ] Selected primary task 'assembleDebug' from project :
[   +5 ms] Tasks to be executed: [task ':app:preBuild', task ':app:preDebugBuild', task ':app:mergeDebugNativeDebugMetadata', task ':app:compileFlutterBuildDebug', task
':app:packLibsflutterBuildDebug', task ':app:compileDebugAidl', task ':app:compileDebugRenderscript', task ':app:generateDebugBuildConfig', task ':app:checkDebugAarMetadata', task
':app:cleanMergeDebugAssets', task ':app:mergeDebugShaders', task ':app:compileDebugShaders', task ':app:generateDebugAssets', task ':app:mergeDebugAssets', task
':app:copyFlutterAssetsDebug', task ':app:generateDebugResValues', task ':app:mapDebugSourceSetPaths', task ':app:generateDebugResources', task ':app:mergeDebugResources', task
':app:createDebugCompatibleScreenManifests', task ':app:extractDeepLinksDebug', task ':app:processDebugMainManifest', task ':app:processDebugManifest', task
':app:processDebugManifestForPackage', task ':app:processDebugResources', task ':app:compileDebugKotlin', task ':app:javaPreCompileDebug', task ':app:compileDebugJavaWithJavac', task
':app:compressDebugAssets', task ':app:processDebugJavaRes', task ':app:mergeDebugJavaResource', task ':app:checkDebugDuplicateClasses', task ':app:dexBuilderDebug', task
':app:desugarDebugFileDependencies', task ':app:mergeExtDexDebug', task ':app:mergeDexDebug', task ':app:mergeDebugJniLibFolders', task ':app:mergeDebugNativeLibs', task
':app:stripDebugDebugSymbols', task ':app:validateSigningDebug', task ':app:writeDebugAppMetadata', task ':app:writeDebugSigningConfigVersions', task ':app:packageDebug', task
':app:createDebugApkListingFileRedirect', task ':app:assembleDebug']
[   +7 ms] Tasks that were excluded: []
[   +9 ms] Resolve mutations for :app:preBuild (Thread[included builds,5,main]) started.
[        ] Resolve mutations for :app:preBuild (Thread[included builds,5,main]) completed. Took 0.0 secs.
[        ] :app:preBuild (Thread[Execution worker,5,main]) started.
[  +15 ms] > Task :app:preBuild UP-TO-DATE
[        ] Skipping task ':app:preBuild' as it has no actions.
[        ] :app:preBuild (Thread[Execution worker,5,main]) completed. Took 0.005 secs.
[  +13 ms] Resolve mutations for :app:preDebugBuild (Thread[Execution worker,5,main]) started.
[        ] Resolve mutations for :app:preDebugBuild (Thread[Execution worker,5,main]) completed. Took 0.0 secs.
[        ] :app:preDebugBuild (Thread[Execution worker,5,main]) started.
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] Skipping task ':app:preDebugBuild' as it has no actions.
[   +1 ms] :app:preDebugBuild (Thread[Execution worker,5,main]) completed. Took 0.0 secs.
[  +23 ms] Resolve mutations for :app:mergeDebugNativeDebugMetadata (Thread[included builds,5,main]) started.
[   +1 ms] Resolve mutations for :app:mergeDebugNativeDebugMetadata (Thread[included builds,5,main]) completed. Took 0.0 secs.
[   +5 ms] :app:mergeDebugNativeDebugMetadata (Thread[Execution worker,5,main]) started.
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] Skipping task ':app:mergeDebugNativeDebugMetadata' as it has no source files and no previous output files.
[        ] :app:mergeDebugNativeDebugMetadata (Thread[Execution worker,5,main]) completed. Took 0.0 secs.
[   +1 ms] Resolve mutations for :app:compileFlutterBuildDebug (Thread[included builds,5,main]) started.
[   +1 ms] Resolve mutations for :app:compileFlutterBuildDebug (Thread[included builds,5,main]) completed. Took 0.001 secs.
[   +2 ms] :app:compileFlutterBuildDebug (Thread[Execution worker,5,main]) started.
[+1648 ms] > Task :app:compileFlutterBuildDebug
[   +1 ms] Caching disabled for task ':app:compileFlutterBuildDebug' because:
[        ]   Build cache is disabled
[        ] Task ':app:compileFlutterBuildDebug' is not up-to-date because:
[        ]   Task has failed previously.
[        ] Starting process 'command 'C:\SDKs\flutter\bin\flutter.bat''. Working directory: C:\Users\<REDACTED>\Code\Experimental\build_test Command: C:\SDKs\flutter\bin\flutter.bat
--verbose assemble --no-version-check --depfile C:\Users\<REDACTED>\Code\Experimental\build_test\build\app\intermediates\flutter\debug/flutter_build.d --output
C:\Users\<REDACTED>\Code\Experimental\build_test\build\app\intermediates\flutter\debug -dTargetFile=lib\\main.dart -dTargetPlatform=android -dBuildMode=debug -dTrackWidgetCreation=true
debug_android_application
[   +2 ms] Successfully started process 'command 'C:\SDKs\flutter\bin\flutter.bat''
[   +4 ms] [ +167 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[  +12 ms] [   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[  +20 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[  +15 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[        ] [   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +4 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [ +231 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +2 ms] [   +6 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +79 ms] Initializing file store
[        ] [   +5 ms] Done initializing file store
[        ] [  +60 ms] Skipping target: gen_localizations
[        ] [  +20 ms] Skipping target: gen_dart_plugin_registrant
[        ] [   +2 ms] invalidated build due to missing files: \main.dart
[        ] [  +14 ms] kernel_snapshot: Starting due to {InvalidatedReasonKind.inputMissing: The following inputs were missing: \main.dart, InvalidatedReasonKind.inputChanged: The following
inputs have updated contents:
C:\SDKs\flutter\packages\flutter_tools\lib\src\build_system\targets\common.dart,C:\SDKs\flutter\bin\internal\engine.version,C:\SDKs\flutter\bin\internal\engine.version,C:\SDKs\flutter\bin\
internal\engine.version}
[   +2 ms] [  +27 ms] C:\SDKs\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\SDKs\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root
C:\SDKs\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --no-link-platform --packages C:\Users\<REDACTED>\Code\Experimental\build_test\.dart_tool\package_config.json --output-dill
C:\Users\<REDACTED>\Code\Experimental\build_test\.dart_tool\flutter_build\b04aa484bb64efbfa850aed2f1965260\app.dill --depfile
C:\Users\<REDACTED>\Code\Experimental\build_test\.dart_tool\flutter_build\b04aa484bb64efbfa850aed2f1965260\kernel_snapshot.d --incremental --initialize-from-dill
C:\Users\<REDACTED>\Code\Experimental\build_test\.dart_tool\flutter_build\b04aa484bb64efbfa850aed2f1965260\app.dill --verbosity=error package:build_test//main.dart
[  +11 ms] [  +83 ms] Persisting file store
[        ] [   +6 ms] Done persisting file store
[   +3 ms] [ +702 ms] /main.dart: Error: Error when reading '/main.dart': The system cannot find the file specified.
[   +4 ms] [   +6 ms] Target kernel_snapshot failed: Exception
[        ]            #0      KernelSnapshot.build (package:flutter_tools/src/build_system/targets/common.dart:256:7)
[   +3 ms]            <asynchronous suspension>
[   +2 ms]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:853:9)
[        ]            <asynchronous suspension>
[        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart:525:21)
[   +2 ms]            <asynchronous suspension>
[        ]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:791:32)
[        ]            <asynchronous suspension>
[        ]            #4      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:620:16)
[        ]            <asynchronous suspension>
[        ]            #5      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:315:32)
[        ]            <asynchronous suspension>
[   +2 ms]            #6      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1297:27)
[   +5 ms]            <asynchronous suspension>
[        ]            #7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #8      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
[        ]            <asynchronous suspension>
[        ]            #9      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:339:9)
[        ]            <asynchronous suspension>
[        ]            #10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #11     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:285:5)
[        ]            <asynchronous suspension>
[        ]            #12     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:115:9)
[        ]            <asynchronous suspension>
[   +1 ms]            #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[   +8 ms]            #14     main (package:flutter_tools/executable.dart:90:3)
[        ]            <asynchronous suspension>
[        ] [  +12 ms]
[   +1 ms] [  +28 ms] "flutter assemble" took 1,299ms.
[  +11 ms]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[   +1 ms]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:332:7)
[        ]            <asynchronous suspension>
[        ]            #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1297:27)
[        ]            <asynchronous suspension>
[        ]            #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #4      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
[        ]            <asynchronous suspension>
[        ]            #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:339:9)
[        ]            <asynchronous suspension>
[        ]            #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[   +7 ms]            #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:285:5)
[        ]            <asynchronous suspension>
[        ]            #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:115:9)
[        ]            <asynchronous suspension>
[   +1 ms]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #10     main (package:flutter_tools/executable.dart:90:3)
[        ]            <asynchronous suspension>
[ +190 ms] [ +290 ms] ensureAnalyticsSent: 256ms
[        ] [        ] Running 0 shutdown hooks
[        ] [        ] Shutdown hooks complete
[   +2 ms] [        ] exiting with code 1
[        ] > Task :app:compileFlutterBuildDebug FAILED
[        ] :app:compileFlutterBuildDebug (Thread[Execution worker,5,main]) completed. Took 2.42 secs.
[  +24 ms] FAILURE: Build failed with an exception.
[   +1 ms] * What went wrong:
[   +6 ms] Execution failed for task ':app:compileFlutterBuildDebug'.
[   +3 ms] > Process 'command 'C:\SDKs\flutter\bin\flutter.bat'' finished with non-zero exit value 1
[        ] * Try:
[        ] > Run with --debug option to get more log output.
[        ] > Run with --scan to get full insights.
[        ] * Exception is:
[        ] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileFlutterBuildDebug'.
[        ]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:142)
[        ]      at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
[   +4 ms]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:140)
[        ]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:128)
[   +8 ms]      at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)
[   +1 ms]      at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
[   +4 ms]      at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
[   +3 ms]      at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
[   +5 ms]      at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
[   +2 ms]      at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
[        ]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
[        ]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
[        ]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
[   +3 ms]      at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
[   +3 ms]      at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
[   +1 ms]      at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
[   +1 ms]      at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
[        ]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
[        ]      at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:69)
[        ]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:327)
[        ]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:314)
[        ]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:307)
[   +1 ms]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:293)
[   +4 ms]      at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:417)
[        ]      at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:339)
[   +1 ms]      at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
[        ]      at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
[   +2 ms]      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[   +1 ms]      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[        ]      at java.base/java.lang.Thread.run(Thread.java:833)
[        ] Caused by: org.gradle.process.internal.ExecException: Process 'command 'C:\SDKs\flutter\bin\flutter.bat'' finished with non-zero exit value 1
[   +1 ms]      at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:415)
[   +1 ms]      at org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:38)
[   +5 ms]      at org.gradle.process.internal.DefaultExecActionFactory.exec(DefaultExecActionFactory.java:202)
[   +1 ms]      at org.gradle.api.internal.project.DefaultProject.exec(DefaultProject.java:1171)
[   +1 ms]      at org.gradle.api.internal.project.DefaultProject.exec(DefaultProject.java:1166)
[        ]      at org.gradle.api.Project$exec$9.call(Unknown Source)
[        ]      at BaseFlutterTask.buildBundle(flutter.groovy:1297)
[        ]      at BaseFlutterTask$buildBundle.callCurrent(Unknown Source)
[        ]      at FlutterTask.build(flutter.groovy:1422)
[        ]      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[        ]      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[        ]      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[        ]      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[        ]      at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125)
[        ]      at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
[        ]      at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
[   +5 ms]      at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
[   +2 ms]      at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:236)
[   +1 ms]      at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
[   +1 ms]      at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
[        ]      at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:221)
[   +1 ms]      at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:204)
[        ]      at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:187)
[   +3 ms]      at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:165)
[   +1 ms]      at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)
[   +1 ms]      at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)
[   +1 ms]      at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)
[   +1 ms]      at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
[   +1 ms]      at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
[   +4 ms]      at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:50)
[        ]      at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:40)
[        ]      at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:68)
[   +1 ms]      at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:38)
[   +1 ms]      at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)
[   +1 ms]      at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)
[        ]      at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
[        ]      at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51)
[        ]      at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:29)
[        ]      at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.executeDelegateBroadcastingChanges(CaptureStateAfterExecutionStep.java:124)
[        ]      at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:80)
[   +1 ms]      at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:58)
[        ]      at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48)
[   +5 ms]      at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:36)
[   +1 ms]      at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:181)
[   +1 ms]      at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:71)
[   +1 ms]      at org.gradle.internal.Either$Right.fold(Either.java:175)
[        ]      at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:59)
[   +1 ms]      at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:69)
[        ]      at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:47)
[        ]      at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:36)
[        ]      at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:25)
[        ]      at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36)
[        ]      at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22)
[   +1 ms]      at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:110)
[   +4 ms]      at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:56)
[   +1 ms]      at java.base/java.util.Optional.orElseGet(Optional.java:364)
[   +1 ms]      at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:56)
[        ]      at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38)
[        ]      at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:73)
[   +1 ms]      at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:44)
[   +1 ms]      at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
[        ]      at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
[        ]      at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:89)
[        ]      at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:50)
[        ]      at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:114)
[        ]      at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:57)
[   +1 ms]      at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:76)
[   +4 ms]      at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:50)
[        ]      at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNoEmptySources(SkipEmptyWorkStep.java:254)
[   +6 ms]      at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:91)
[  +21 ms]      at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:56)
[   +8 ms]      at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:32)
[   +1 ms]      at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:21)
[   +1 ms]      at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
[  +44 ms]      at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:43)
[        ]      at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:31)
[        ]      at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:40)
[        ]      at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:281)
[        ]      at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:40)
[        ]      at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
[        ]      at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)
[        ]      at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)
[        ]      at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:44)
[        ]      at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:33)
[        ]      at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:76)
[        ]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:139)
[        ]      at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:128)
[        ]      at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)
[        ]      at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
[        ]      at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
[        ]      at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
[   +1 ms]      at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
[        ]      at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
[        ]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
[        ]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
[   +1 ms]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
[   +1 ms]      at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
[        ]      at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
[        ]      at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
[        ]      at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:69)
[   +1 ms]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:327)
[        ]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:314)
[        ]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:307)
[        ]      at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:293)
[        ]      at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:417)
[        ]      at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:339)
[        ]      at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
[        ]      at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
[        ]      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[        ]      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[        ]      at java.base/java.lang.Thread.run(Thread.java:833)
[   +1 ms] * Get more help at https://help.gradle.org
[   +1 ms] BUILD FAILED in 5s
[   +1 ms] 6 actionable tasks: 1 executed, 5 up-to-date
[        ] Watched directory hierarchies: [C:\SDKs\flutter\packages\flutter_tools\gradle]
[ +545 ms] Running Gradle task 'assembleDebug'... (completed in 7.3s)
[   +8 ms] "flutter apk" took 8,645ms.
[   +9 ms] Gradle task assembleDebug failed with exit code 1
[   +1 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      AndroidGradleBuilder.buildGradleApp (package:flutter_tools/src/android/gradle.dart:512:9)
           <asynchronous suspension>
           #2      AndroidGradleBuilder.buildApk (package:flutter_tools/src/android/gradle.dart:242:5)
           <asynchronous suspension>
           #3      BuildApkCommand.runCommand (package:flutter_tools/src/commands/build_apk.dart:116:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1297:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:339:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:285:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:115:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:90:3)
           <asynchronous suspension>


[ +196 ms] ensureAnalyticsSent: 174ms
[        ] Running 0 shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1
```

</details>


### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.13.9, on Microsoft Windows [Version 10.0.19045.3570], locale en-US)
    • Flutter version 3.13.9 on channel stable at C:\SDKs\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d211f42860 (3 weeks ago), 2023-10-25 13:42:25 -0700
    • Engine revision 0545f8705d
    • Dart version 3.1.5
    • DevTools version 2.25.0

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\SDKs\android\
    • Platform android-33, build-tools 34.0.0
    • Java binary at: C:\Program Files\Common Files\Oracle\Java\javapath\java.exe
    • Java version Java(TM) SE Runtime Environment (build 17.0.8+9-LTS-211)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[✓] VS Code (version 1.84.2)
    • VS Code at C:\Users\<REDACTED>\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.76.0

[!] Connected device
    ! No devices available

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 3 categories.
```

</details>