Android Studio 3.6.1:执行com.android.build.gradle.internal.tasks.Workers $ ActionFacade时发生故障 [英] Android studio 3.6.1: A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade

查看:240
本文介绍了Android Studio 3.6.1:执行com.android.build.gradle.internal.tasks.Workers $ ActionFacade时发生故障的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将gradle和android studio更新为3.6.1版本.但是,它始终无法生成apk文件并显示以下错误:

I recently updated gradle and android studio to 3.6.1 version. but, it always fails to build apk file and show the following error:


* What went wrong:
Execution failed for task ':app:mergeReleaseResources'.
> Multiple task action failures occurred:
   > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
      > AAPT2 aapt2-3.6.1-6040484-windows Daemon #4: Daemon startup failed
        Please check if you installed the Windows Universal C Runtime.
        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.6.1-6040484-windows Daemon #5: Daemon startup failed
        Please check if you installed the Windows Universal C Runtime.
        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.6.1-6040484-windows Daemon #7: Daemon startup failed
        Please check if you installed the Windows Universal C Runtime.
        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.6.1-6040484-windows Daemon #6: Daemon startup failed
        Please check if you installed the Windows Universal C Runtime.
        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.6.1-6040484-windows Daemon #8: Daemon startup failed
        Please check if you installed the Windows Universal C Runtime.
        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.6.1-6040484-windows Daemon #9: Daemon startup failed
        Please check if you installed the Windows Universal C Runtime.
        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.6.1-6040484-windows Daemon #10: Daemon startup failed
        Please check if you installed the Windows Universal C Runtime.
        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.6.1-6040484-windows Daemon #11: Daemon startup failed
        Please check if you installed the Windows Universal C Runtime.
        This should not happen under normal circumstances, please file an issue if it does.

如何解决此问题?
感谢您提供的任何帮助

How can I solve this issue?
Thank you for any help you can offer

推荐答案

Various bug reports mention that installing Windows Universal C Runtime manually helps. See if that helps.

下载: https://support.microsoft.com/zh-CN/help/2999226/update-for-universal-c-runtime-in-windows

这篇关于Android Studio 3.6.1:执行com.android.build.gradle.internal.tasks.Workers $ ActionFacade时发生故障的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆