Repository: flutter
Issue: Custom shader building/testing inconsistant
Labels: waiting for customer response,in triage

### Steps to reproduce

1. Create flutter app through Visual Studio Code: Empty Application
2. Add shader code that imports sibiling shader code.
3. In pubspec.yaml import the shader code.
4. Try debug launch.


### Expected results

Shader code imports and hopefully compiles with no issue consistantly through out different platforms.
If there is an error while compile, print error and cancel build/test.

### Actual results

It shows different outcomes.

[On Windows machine]
- Building to Android emulator hangs up on `Flutter: Running Gradle task 'assembleDebug'...`

[On Mac machine]
- Debug to MacOS or IOS builds and launches emulator.

The build/test on both platform works if `common.frag` and `simple.frag` is combined like below.

```
#include <flutter/runtime_effect.glsl>
precision mediump float;

uniform vec2 iResolution;
out vec4 fragColor;

void main(){
    vec2 uv = FlutterFragCoord().xy / iResolution.xy;
	fragColor = vec4(uv, 0., 1.);
}
```

I think Flutter isn't reliable with printing errors when it comes to shader too.
Sometimes it will print errors on shader while executing which results canceling the build, but sometimes it hangs with no feedback.
When it hangs, I can't make changes to shader code, even if I stop the process, until I force quit JAVA, and any other related instances.

I guess it could be my environment problem. But I found an old issue that was closed. So I thought I would give it another shot at [#127737](https://github.com/flutter/flutter/issues/127737) with much more simple code and steps to reproduce.

### Code sample

<details open><summary>Code sample</summary>

- lib
-- main.dart
- shaders
-- common.frag
-- simple.frag

```
//common.frag
#include <flutter/runtime_effect.glsl>
precision mediump float;

uniform vec2 iResolution;

out vec4 fragColor;
```

```
//simple.frag
#include <./common.frag>

void main(){
    vec2 uv = FlutterFragCoord().xy / iResolution.xy;
	fragColor = vec4(uv, 0., 1.);
}
```

```
//pubspec.yaml
flutter:
  uses-material-design: true
  shaders:
    - shaders/simple.frag
```
</details>


### Screenshots or Video

_No response_

### Logs

<details open><summary>Logs</summary>

```
[ +151 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +3 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.
[   +2 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.
[  +76 ms] executing: C:\Users\Username\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +62 ms] List of devices attached
           emulator-5554          device product:sdk_gphone64_x86_64 model:sdk_gphone64_x86_64 device:emu64xa
           transport_id:3
[   +8 ms] C:\Users\Username\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell getprop  
[  +56 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +5 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.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +115 ms] Skipping pub get: version match.
[ +117 ms] Generating
C:\Users\Username\Desktop\work\temp\TheSeries\git\android\app\src\main\java\io\flutter\plugins\GeneratedPlugin
Registrant.java
[  +60 ms] ro.hardware = ranchu
[  +78 ms] No packages with native assets. Skipping native assets compilation.
[   +3 ms] Initializing file store
[   +6 ms] Skipping target: gen_localizations
[   +4 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following
inputs have updated contents:
C:\Users\Username\Desktop\work\temp\TheSeries\git\.dart_tool\package_config_subset}
[  +79 ms] gen_dart_plugin_registrant: Complete
[   +1 ms] Skipping target: _composite
[   +1 ms] complete
[   +5 ms] Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
[   +3 ms] C:\Users\Username\dev\flutter\bin\cache\dart-sdk\bin\dartaotruntime.exe
C:\Users\Username\dev\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server_aot.dart.snapshot --sdk-root   
C:\Users\Username\dev\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental
--target=flutter --experimental-emit-debug-metadata --output-dill
C:\Users\Username\AppData\Local\Temp\flutter_tools.82b8d426\flutter_tool.2148e57c\app.dill --packages
C:\Users\Username\Desktop\work\temp\TheSeries\git\.dart_tool\package_config.json -Ddart.vm.profile=false      
-Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root       
--initialize-from-dill build\cache.dill.track.dill --verbosity=error
--enable-experiment=alternative-invalidation-strategy
[   +8 ms] executing: C:\Users\Username\AppData\Local\Android\sdk\build-tools\35.0.0\aapt dump xmltree        
C:\Users\Username\Desktop\work\temp\TheSeries\git\build\app\outputs\flutter-apk\app-debug.apk
AndroidManifest.xml
[  +34 ms] Exit code 0 from: C:\Users\Username\AppData\Local\Android\sdk\build-tools\35.0.0\aapt dump xmltree
C:\Users\Username\Desktop\work\temp\TheSeries\git\build\app\outputs\flutter-apk\app-debug.apk
AndroidManifest.xml
[   +1 ms] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="0.1.0" (Raw: "0.1.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x23
               A: android:compileSdkVersionCodename(0x01010573)="15" (Raw: "15")
               A: package="com.example.git" (Raw: "com.example.git")
               A: platformBuildVersionCode=(type 0x10)0x23
               A: platformBuildVersionName=(type 0x10)0xf
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x15
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x23
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw:
                 "android.permission.INTERNET")
               E: queries (line=23)
                 E: intent (line=24)
                   E: action (line=25)
                     A: android:name(0x01010003)="android.intent.action.PROCESS_TEXT" (Raw:
                     "android.intent.action.PROCESS_TEXT")
                   E: data (line=27)
                     A: android:mimeType(0x01010026)="text/plain" (Raw: "text/plain")
               E: permission (line=31)
                 A: android:name(0x01010003)="com.example.git.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION" (Raw:
                 "com.example.git.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION")
                 A: android:protectionLevel(0x01010009)=(type 0x11)0x2
               E: uses-permission (line=35)
                 A: android:name(0x01010003)="com.example.git.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION" (Raw:
                 "com.example.git.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION")
               E: application (line=37)
                 A: android:label(0x01010001)="git" (Raw: "git")
                 A: android:icon(0x01010002)=@0x7f0a0000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")      
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:extractNativeLibs(0x010104ea)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw:   
                 "androidx.core.app.CoreComponentFactory")
                 E: activity (line=44)
                   A: android:theme(0x01010000)=@0x7f0c0000
                   A: android:name(0x01010003)="com.example.git.MainActivity" (Raw:
                   "com.example.git.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:taskAffinity(0x01010012)="" (Raw: "")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=60)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw:
                     "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0c0001
                   E: intent-filter (line=64)
                     E: action (line=65)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw:
                       "android.intent.action.MAIN")
                     E: category (line=67)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw:
                       "android.intent.category.LAUNCHER")
                 E: meta-data (line=74)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=78)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw:
                   "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=81)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")    
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: provider (line=85)
                   A: android:name(0x01010003)="androidx.startup.InitializationProvider" (Raw:
                   "androidx.startup.InitializationProvider")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:authorities(0x01010018)="com.example.git.androidx-startup" (Raw:
                   "com.example.git.androidx-startup")
                   E: meta-data (line=89)
                     A: android:name(0x01010003)="androidx.lifecycle.ProcessLifecycleInitializer" (Raw:      
                     "androidx.lifecycle.ProcessLifecycleInitializer")
                     A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup")
                   E: meta-data (line=92)
                     A: android:name(0x01010003)="androidx.profileinstaller.ProfileInstallerInitializer"     
                     (Raw: "androidx.profileinstaller.ProfileInstallerInitializer")
                     A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup")
                 E: receiver (line=97)
                   A: android:name(0x01010003)="androidx.profileinstaller.ProfileInstallReceiver" (Raw:      
                   "androidx.profileinstaller.ProfileInstallReceiver")
                   A: android:permission(0x01010006)="android.permission.DUMP" (Raw:
                   "android.permission.DUMP")
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                   E: intent-filter (line=103)
                     E: action (line=104)
                       A: android:name(0x01010003)="androidx.profileinstaller.action.INSTALL_PROFILE" (Raw:  
                       "androidx.profileinstaller.action.INSTALL_PROFILE")
                   E: intent-filter (line=106)
                     E: action (line=107)
                       A: android:name(0x01010003)="androidx.profileinstaller.action.SKIP_FILE" (Raw:        
                       "androidx.profileinstaller.action.SKIP_FILE")
                   E: intent-filter (line=109)
                     E: action (line=110)
                       A: android:name(0x01010003)="androidx.profileinstaller.action.SAVE_PROFILE" (Raw:     
                       "androidx.profileinstaller.action.SAVE_PROFILE")
                   E: intent-filter (line=112)
                     E: action (line=113)
                       A: android:name(0x01010003)="androidx.profileinstaller.action.BENCHMARK_OPERATION"    
                       (Raw: "androidx.profileinstaller.action.BENCHMARK_OPERATION")
[  +10 ms] executing: C:\Users\Username\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554     
shell -x logcat -v time -t 1
[  +11 ms] <- compile package:git/main.dart
[  +71 ms] --------- beginning of main
           01-20 06:48:22.221 I/BistoHotwordHelper( 1403): (REDACTED) getHotwordActive::active query: %s,    
           watch: %s, devices connected: %s
[  +10 ms] executing: C:\Users\Username\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +39 ms] Android Debug Bridge version 1.0.41
           Version 35.0.2-12147458
           Installed as C:\Users\Username\AppData\Local\Android\sdk\platform-tools\adb.exe
           Running on Windows 10.0.22631
[   +1 ms] executing: C:\Users\Username\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +47 ms] Building APK
[   +8 ms] executing: C:\Program Files\Android\Android Studio\jbr\bin\java -version
[ +120 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jbr\bin\java -version
[        ] openjdk version "17.0.10" 2024-01-16
           OpenJDK Runtime Environment (build 17.0.10+0--11609105)
           OpenJDK 64-Bit Server VM (build 17.0.10+0--11609105, mixed mode)
[  +10 ms] executing: C:\Program Files\Android\Android Studio\jbr\bin\java --version
[ +150 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jbr\bin\java --version
[        ] openjdk 17.0.10 2024-01-16
           OpenJDK Runtime Environment (build 17.0.10+0--11609105)
           OpenJDK 64-Bit Server VM (build 17.0.10+0--11609105, mixed mode)
[   +9 ms] CMake project not found, skipping support Android 15 16k page size migration.
[  +34 ms] Using gradle from C:\Users\Username\Desktop\work\temp\TheSeries\git\android\gradlew.bat.
[   +1 ms] Running Gradle task 'assembleDebug'...
[   +4 ms] executing: [C:\Users\Username\Desktop\work\temp\TheSeries\git\android/]
C:\Users\Username\Desktop\work\temp\TheSeries\git\android\gradlew.bat --full-stacktrace --info -Pverbose=true 
-Ptarget-platform=android-x64 -Ptarget=C:\Users\Username\Desktop\work\temp\TheSeries\git\lib\main.dart        
-Pbase-application-name=android.app.Application -Pdart-obfuscation=false -Ptrack-widget-creation=true        
-Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +633 ms] Initialized native services in: C:\Users\Username\.gradle\native
[        ] Initialized jansi services in: C:\Users\Username\.gradle\native
[ +109 ms] Received JVM installation metadata from 'C:\Program Files\Android\Android Studio\jbr':
{JAVA_HOME=C:\Program Files\Android\Android Studio\jbr, JAVA_VERSION=17.0.10, JAVA_VENDOR=JetBrains s.r.o.,  
RUNTIME_NAME=OpenJDK Runtime Environment, RUNTIME_VERSION=17.0.10+0--11609105, VM_NAME=OpenJDK 64-Bit Server 
VM, VM_VERSION=17.0.10+0--11609105, VM_VENDOR=JetBrains s.r.o., OS_ARCH=amd64}
[ +498 ms] The client will now receive all logging from the daemon (pid: 24552). The daemon log file:
C:\Users\Username\.gradle\daemon\8.3\daemon-24552.out.log
[   +1 ms] Starting 3rd build in daemon [uptime: 14 mins 2.701 secs, performance: 100%, GC rate: 0.00/s, heap
usage: 0% of 4 GiB, non-heap usage: 5% of 2 GiB]
[        ] Using 20 worker leases.
[        ] Now considering [C:\Users\Username\Desktop\work\temp\TheSeries\git\android,
C:\Users\Username\dev\flutter\packages\flutter_tools\gradle] as hierarchies to watch
[        ] Watching 2 directory hierarchies to track changes
[        ] Watching the file system is configured to be enabled if available
[        ] File system watching is active
[        ] Starting Build
[        ] Now considering [C:\Users\Username\dev\flutter\packages\flutter_tools\gradle,
C:\Users\Username\Desktop\work\temp\TheSeries\git\android] as hierarchies to watch
[        ] Watching 2 directory hierarchies to track changes
[ +103 ms] > Configure project :gradle
[        ] Evaluating project ':gradle' using build file
'C:\Users\Username\dev\flutter\packages\flutter_tools\gradle\build.gradle.kts'.
[        ] The configuration :gradle:classpath is both resolvable and consumable. This is considered a legacy
configuration and it will eventually only be possible to be one of these.
[        ] The configuration :gradle:classpath is both consumable and declarable. This combination is        
incorrect, only one of these flags should be set.
[        ] The configuration :gradle:classpath is both resolvable and consumable. This is considered a legacy
configuration and it will eventually only be possible to be one of these.
[        ] The configuration :gradle:classpath is both consumable and declarable. This combination is        
incorrect, only one of these flags should be set.
[        ] Caching disabled for Kotlin DSL accessors for project ':gradle' because:
[        ]   Build cache is disabled
[        ] Skipping Kotlin DSL accessors for project ':gradle' as it is up-to-date.
[        ] The configuration detachedConfiguration1 is both resolvable and consumable. This is considered a  
legacy configuration and it will eventually only be possible to be one of these.
[        ] The configuration detachedConfiguration1 is both consumable and declarable. This combination is   
incorrect, only one of these flags should be set.
[        ] The configuration detachedConfiguration1 is both resolvable and consumable. This is considered a  
legacy configuration and it will eventually only be possible to be one of these.
[        ] The configuration detachedConfiguration1 is both consumable and declarable. This combination is   
incorrect, only one of these flags should be set.
[        ] The configuration detachedConfiguration2 is both resolvable and consumable. This is considered a  
legacy configuration and it will eventually only be possible to be one of these.
[        ] The configuration detachedConfiguration2 is both consumable and declarable. This combination is   
incorrect, only one of these flags should be set.
[        ] The configuration detachedConfiguration2 is both resolvable and consumable. This is considered a  
legacy configuration and it will eventually only be possible to be one of these.
[        ] The configuration detachedConfiguration2 is both consumable and declarable. This combination is   
incorrect, only one of these flags should be set.
[        ] The configuration classpath is both resolvable and consumable. This is considered a legacy        
configuration and it will eventually only be possible to be one of these.
[        ] The configuration classpath is both consumable and declarable. This combination is incorrect, only
one of these flags should be set.
[        ] The configuration :gradle:mainSourceElements is both consumable and declarable. This combination
is incorrect, only one of these flags should be set.
[        ] Resolve mutations for :gradle:compileJava (Thread[Execution worker,5,main]) started.
[        ] :gradle:compileJava (Thread[Execution worker,5,main]) started.
[        ] > Task :gradle:compileJava NO-SOURCE
[        ] Skipping task ':gradle:compileJava' as it has no source files and no previous output files.       
[        ] Resolve mutations for :gradle:compileGroovy (Thread[Execution worker,5,main]) started.
[        ] :gradle:compileGroovy (Thread[included builds,5,main]) started.
[        ] > Task :gradle:compileGroovy UP-TO-DATE
[        ] Caching disabled for task ':gradle:compileGroovy' because:
[        ]   Build cache is disabled
[        ] Skipping task ':gradle:compileGroovy' as it is up-to-date.
[        ] Resolve mutations for :gradle:pluginDescriptors (Thread[included builds,5,main]) started.
[        ] :gradle:pluginDescriptors (Thread[Execution worker Thread 10,5,main]) started.
[        ] > Task :gradle:pluginDescriptors UP-TO-DATE
[        ] Caching disabled for task ':gradle:pluginDescriptors' because:
[        ]   Build cache is disabled
[        ] Skipping task ':gradle:pluginDescriptors' as it is up-to-date.
[        ] Resolve mutations for :gradle:processResources (Thread[Execution worker Thread 10,5,main])        
started.
[        ] :gradle:processResources (Thread[Execution worker Thread 10,5,main]) started.
[        ] > Task :gradle:processResources UP-TO-DATE
[        ] Caching disabled for task ':gradle:processResources' because:
[        ]   Build cache is disabled
[        ] Skipping task ':gradle:processResources' as it is up-to-date.
[        ] Resolve mutations for :gradle:classes (Thread[Execution worker Thread 10,5,main]) started.        
[        ] :gradle:classes (Thread[Execution worker Thread 10,5,main]) started.
[        ] > Task :gradle:classes UP-TO-DATE
[        ] Skipping task ':gradle:classes' as it has no actions.
[        ] Resolve mutations for :gradle:jar (Thread[Execution worker Thread 10,5,main]) started.
[        ] :gradle:jar (Thread[Execution worker Thread 10,5,main]) started.
[        ] > Task :gradle:jar UP-TO-DATE
[        ] Caching disabled for task ':gradle:jar' because:
[        ]   Build cache is disabled
[        ] Skipping task ':gradle:jar' as it is up-to-date.
[        ] The configuration classpath is both resolvable and consumable. This is considered a legacy        
configuration and it will eventually only be possible to be one of these.
[        ] The configuration classpath is both consumable and declarable. This combination is incorrect, only
one of these flags should be set.
[  +65 ms] Settings evaluated using settings file
'C:\Users\Username\Desktop\work\temp\TheSeries\git\android\settings.gradle'.
[   +1 ms] Projects loaded. Root project using build file
'C:\Users\Username\Desktop\work\temp\TheSeries\git\android\build.gradle'.
[        ] Included projects: [root project 'android', project ':app']
[ +294 ms] > Configure project :app
[        ] Evaluating project ':app' using build file
'C:\Users\Username\Desktop\work\temp\TheSeries\git\android\app\build.gradle'.
[        ] Using default execution profile
[        ] Using Kotlin Gradle Plugin gradle76 variant
[        ] The configuration classpath is both resolvable and consumable. This is considered a legacy        
configuration and it will eventually only be possible to be one of these.
[        ] The configuration classpath is both consumable and declarable. This combination is incorrect, only
one of these flags should be set.
[        ] The configuration classpath is both resolvable and consumable. This is considered a legacy        
configuration and it will eventually only be possible to be one of these.
[        ] The configuration classpath is both consumable and declarable. This combination is incorrect, only
one of these flags should be set.
[        ] Parsed shrinker version: 8.1.56
[        ] > Configure project :
[        ] Evaluating root project 'android' using build file
'C:\Users\Username\Desktop\work\temp\TheSeries\git\android\build.gradle'.
[        ] All projects evaluated.
[        ] The configuration :classpath is both resolvable and consumable. This is considered a legacy       
configuration and it will eventually only be possible to be one of these.
[        ] The configuration :classpath is both consumable and declarable. This combination is incorrect,    
only one of these flags should be set.
[        ] The configuration :classpath is both resolvable and consumable. This is considered a legacy       
configuration and it will eventually only be possible to be one of these.
[        ] The configuration :classpath is both consumable and declarable. This combination is incorrect,    
only one of these flags should be set.
[        ] The configuration :classpath is both resolvable and consumable. This is considered a legacy       
configuration and it will eventually only be possible to be one of these.
[        ] The configuration :classpath is both consumable and declarable. This combination is incorrect,    
only one of these flags should be set.
[        ] The configuration :classpath is both resolvable and consumable. This is considered a legacy       
configuration and it will eventually only be possible to be one of these.
[        ] The configuration :classpath is both consumable and declarable. This combination is incorrect,    
only one of these flags should be set.
[        ] The configuration :classpath is both resolvable and consumable. This is considered a legacy       
configuration and it will eventually only be possible to be one of these.
[        ] The configuration :classpath is both consumable and declarable. This combination is incorrect,    
only one of these flags should be set.
[        ] The configuration :classpath is both resolvable and consumable. This is considered a legacy       
configuration and it will eventually only be possible to be one of these.
[        ] The configuration :classpath is both consumable and declarable. This combination is incorrect,    
only one of these flags should be set.
[        ] The configuration :app:classpath is both resolvable and consumable. This is considered a legacy   
configuration and it will eventually only be possible to be one of these.
[        ] The configuration :app:classpath is both consumable and declarable. This combination is incorrect,
only one of these flags should be set.
[        ] The configuration :app:classpath is both resolvable and consumable. This is considered a legacy   
configuration and it will eventually only be possible to be one of these.
[        ] The configuration :app:classpath is both consumable and declarable. This combination is incorrect,
only one of these flags should be set.
[        ] The configuration :app:classpath is both resolvable and consumable. This is considered a legacy   
configuration and it will eventually only be possible to be one of these.
[        ] The configuration :app:classpath is both consumable and declarable. This combination is incorrect,
only one of these flags should be set.
[        ] The configuration :app:classpath is both resolvable and consumable. This is considered a legacy   
configuration and it will eventually only be possible to be one of these.
[        ] The configuration :app:classpath is both consumable and declarable. This combination is incorrect,
only one of these flags should be set.
[        ] The configuration :app:classpath is both resolvable and consumable. This is considered a legacy   
configuration and it will eventually only be possible to be one of these.
[        ] The configuration :app:classpath is both consumable and declarable. This combination is incorrect,
only one of these flags should be set.
[        ] The configuration :app:classpath is both resolvable and consumable. This is considered a legacy   
configuration and it will eventually only be possible to be one of these.
[        ] The configuration :app:classpath is both consumable and declarable. This combination is incorrect,
only one of these flags should be set.
[        ] Task name matched 'assembleDebug'
[        ] Selected primary task 'assembleDebug' from project :
[        ] WARNING: We recommend using a newer Android Gradle plugin to use compileSdk = 35
[        ] This Android Gradle plugin (8.1.0) was tested up to compileSdk = 33 (and compileSdkPreview =      
"UpsideDownCakePrivacySandbox").
[        ] You are strongly encouraged to update your project to use a newer
[        ] Android Gradle plugin that has been tested with compileSdk = 35.
[        ] If you are already using the latest version of the Android Gradle plugin,
[        ] you may need to wait until a newer version with support for compileSdk = 35 is available.
[        ] To suppress this warning, add/update
[        ]     android.suppressUnsupportedCompileSdk=35
[        ] to this project's gradle.properties.
[        ] Tasks to be executed: [task ':app:preBuild', task ':app:preDebugBuild', task
':app:mergeDebugNativeDebugMetadata', task ':app:compileFlutterBuildDebug', task
':app:packJniLibsflutterBuildDebug', 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:packageDebugResources', task ':app:parseDebugLocalResources', 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:desugarDebugFileDependencies', task ':app:mergeExtDexDebug', task ':app:mergeLibDexDebug', task        
':app:dexBuilderDebug', task ':app:mergeProjectDexDebug', 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']
[   +2 ms] Tasks that were excluded: []
[        ] Resolve mutations for :app:preBuild (Thread[Execution worker Thread 17,5,main]) started.
[        ] :app:preBuild (Thread[Execution worker Thread 17,5,main]) started.
[        ] > Task :app:preBuild UP-TO-DATE
[        ] Skipping task ':app:preBuild' as it has no actions.
[        ] Resolve mutations for :app:preDebugBuild (Thread[Execution worker Thread 17,5,main]) started.     
[        ] :app:preDebugBuild (Thread[Execution worker Thread 17,5,main]) started.
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] Skipping task ':app:preDebugBuild' as it has no actions.
[        ] Resolve mutations for :app:mergeDebugNativeDebugMetadata (Thread[Execution worker Thread
17,5,main]) started.
[        ] :app:mergeDebugNativeDebugMetadata (Thread[Execution worker Thread 17,5,main]) started.
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] Skipping task ':app:mergeDebugNativeDebugMetadata' as it has no source files and no previous      
output files.
[        ] Resolve mutations for :app:compileFlutterBuildDebug (Thread[Execution worker Thread 17,5,main])   
started.
[  +60 ms] :app:compileFlutterBuildDebug (Thread[Execution worker Thread 6,5,main]) started.
[+1915 ms] > Task :app:compileFlutterBuildDebug
[        ] 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:\Users\Username\dev\flutter\bin\flutter.bat''. Working directory:     
C:\Users\Username\Desktop\work\temp\TheSeries\git Command: C:\Users\Username\dev\flutter\bin\flutter.bat       
--verbose assemble --no-version-check --depfile
C:\Users\Username\Desktop\work\temp\TheSeries\git\build\app\intermediates\flutter\debug/flutter_build.d       
--output C:\Users\Username\Desktop\work\temp\TheSeries\git\build\app\intermediates\flutter\debug
-dTargetFile=C:\Users\Username\Desktop\work\temp\TheSeries\git\lib\main.dart -dTargetPlatform=android
-dBuildMode=debug -dTrackWidgetCreation=true -dFlavor= -dAndroidArchs=android-x64 -dMinSdkVersion=21
debug_android_application
[        ] Successfully started process 'command 'C:\Users\Username\dev\flutter\bin\flutter.bat''
[        ] [  +57 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.   
[        ] [   +2 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.        
[        ] [   +2 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.     
[        ] [  +78 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +2 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.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +60 ms] Initializing file store
[        ] [  +12 ms] Done initializing file store
[        ] [  +47 ms] Skipping target: gen_localizations
[        ] [   +6 ms] Skipping target: gen_dart_plugin_registrant
[        ] [ +552 ms] Skipping target: kernel_snapshot_program
[        ] [   +3 ms] Skipping target: native_assets
[        ] [        ] Skipping target: kernel_snapshot_native_assets
[        ] [        ] Skipping target: kernel_snapshot
[        ] [ +280 ms] debug_android_application: Starting due to {InvalidatedReasonKind.inputChanged: The    
following inputs have updated contents: C:\Users\Username\Desktop\work\temp\TheSeries\git\pubspec.yaml}       
[        ] [ +131 ms] shaderc command:
[C:\Users\Username\dev\flutter\bin\cache\artifacts\engine\windows-x64\impellerc.exe, --sksl,
--runtime-stage-gles, --runtime-stage-vulkan, --iplr,
--sl=C:\Users\Username\Desktop\work\temp\TheSeries\git\build\app\intermediates\flutter\debug\flutter_assets\sh
aders/simple.frag,
--spirv=C:\Users\Username\Desktop\work\temp\TheSeries\git\build\app\intermediates\flutter\debug\flutter_assets
\shaders/simple.frag.spirv, --input=C:\Users\Username\Desktop\work\temp\TheSeries\git\shaders\simple.frag,    
--input-type=frag, --include=C:\Users\Username\Desktop\work\temp\TheSeries\git\shaders,
--include=C:\Users\Username\dev\flutter\bin\cache\artifacts\engine\windows-x64\shader_lib]
[   +1 ms] [   +2 ms] shaderc command:
[C:\Users\Username\dev\flutter\bin\cache\artifacts\engine\windows-x64\impellerc.exe, --sksl,
--runtime-stage-gles, --runtime-stage-vulkan, --iplr,
--sl=C:\Users\Username\Desktop\work\temp\TheSeries\git\build\app\intermediates\flutter\debug\flutter_assets\sh
aders/ink_sparkle.frag,
--spirv=C:\Users\Username\Desktop\work\temp\TheSeries\git\build\app\intermediates\flutter\debug\flutter_assets
\shaders/ink_sparkle.frag.spirv,
--input=C:\Users\Username\dev\flutter\packages\flutter\lib\src\material\shaders\ink_sparkle.frag,
--input-type=frag, --include=C:\Users\Username\dev\flutter\packages\flutter\lib\src\material\shaders,
--include=C:\Users\Username\dev\flutter\bin\cache\artifacts\engine\windows-x64\shader_lib]
```
it hangs after this.

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>


```
Flutter doctor -v
[√] Flutter (Channel stable, 3.27.2, on Microsoft Windows [Version 10.0.22631.4602], locale ko-KR)
    • Flutter version 3.27.2 on channel stable at C:\Users\Username\dev\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 68415ad1d9 (7 days ago), 2025-01-13 10:22:03 -0800
    • Engine revision e672b006cb
    • Dart version 3.6.1
    • DevTools version 2.40.2

[√] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\Users\Username\AppData\Local\Android\sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11609105)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop Windows apps
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components    

[√] Android Studio (version 2024.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11609105)

[√] VS Code (version 1.96.4)
    • VS Code at C:\Users\Username\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.102.0

[√] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 15 (API 35) (emulator)
    • Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [Version
      10.0.22631.4602]
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 131.0.6778.265
    • Edge (web)                   • edge          • web-javascript • Microsoft Edge 130.0.2849.46

[√] Network resources
    • All expected network resources are available.
```


</details>