添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
腹黑的领带  ·  android ...·  1 月前    · 
爱吹牛的香烟  ·  【windows ...·  3 月前    · 
听话的皮蛋  ·  Pandas index操作索引·  1 年前    · 
坚强的稀饭  ·  Java ...·  1 年前    · 
耍酷的书签  ·  Detect bad json data ...·  1 年前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Flutter in Visual Studio Code

Ask Question

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.

Launching lib\main.dart on Android SDK built for x86 in debug mode... Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:mergeDebugResources'.

    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.

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

  • BUILD FAILED in 1m 8s Finished with error: Gradle task assembleDebug failed with exit code 1

    Are you still having the same issues to date? If so, have you tried running flutter clean and flutter pub get ? This usually solves common build errors.

    An issue ticket was posted on GitHub similar to what you've described. Downgrading the Android plugin seems to be an option if this issue still persists.

    Thanks for contributing an answer to Stack Overflow!

    • Please be sure to answer the question . Provide details and share your research!

    But avoid

    • Asking for help, clarification, or responding to other answers.
    • Making statements based on opinion; back them up with references or personal experience.

    To learn more, see our tips on writing great answers .