title: A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Flutter in Visual Studio Code
body: <p>I trying to setup flutter in visual studio code and I am getting below error whenever i run the project. Its the initial main.dart when we create a new flutter project. I tried searching many places but am not able to resolve the issue.</p>
  
  <p>Launching lib\main.dart on Android SDK built for x86 in debug mode...
  Running Gradle task 'assembleDebug'...</p>
  
  <p>FAILURE: Build failed with an exception.</p>
  
  <ul>
  <li><p>What went wrong:
  Execution failed for task ':app:mergeDebugResources'.</p>
  
  <blockquote>
    <p>Multiple task action failures occurred:
    A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
    AAPT2 aapt2-3.5.0-5435860-windows Daemon #0: Daemon startup failed
        This should not happen under normal circumstances, please file an issue if it does.
    A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
    AAPT2 aapt2-3.5.0-5435860-windows Daemon #2: Daemon startup failed
        This should not happen under normal circumstances, please file an issue if it does.
    A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
    AAPT2 aapt2-3.5.0-5435860-windows Daemon #1: Daemon startup failed
        This should not happen under normal circumstances, please file an issue if it does.
    A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
    AAPT2 aapt2-3.5.0-5435860-windows Daemon #3: Daemon startup failed
        This should not happen under normal circumstances, please file an issue if it does.
    A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
    AAPT2 aapt2-3.5.0-5435860-windows Daemon #4: Daemon startup failed
        This should not happen under normal circumstances, please file an issue if it does.
    A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
    AAPT2 aapt2-3.5.0-5435860-windows Daemon #5: Daemon startup failed
        This should not happen under normal circumstances, please file an issue if it does.
    A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
    AAPT2 aapt2-3.5.0-5435860-windows Daemon #6: Daemon startup failed
        This should not happen under normal circumstances, please file an issue if it does.
    A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
    AAPT2 aapt2-3.5.0-5435860-windows Daemon #7: Daemon startup failed
        This should not happen under normal circumstances, please file an issue if it does.</p>
  </blockquote></li>
  <li><p>Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.</p></li>
  <li><p>Get more help at <a href="https://help.gradle.org" rel="noreferrer">https://help.gradle.org</a></p></li>
  </ul>
  
  <p>BUILD FAILED in 1m 8s
  Finished with error: Gradle task assembleDebug failed with exit code 1</p>