【问题标题】:process unexpectedly exit , AAPT2 errors进程意外退出,AAPT2错误
【发布时间】:2020-11-02 18:26:41
【问题描述】:

实际的问题是同步过程非常顺利,没有任何错误。但是当我尝试构建应用程序时同步成功后,显示了 2 个错误:

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade

AAPT2 aapt2-4.2.0-alpha04-6589975-windows Daemon #7: Daemon startup failed Please check if you installed the Windows Universal C Runtime.

进程意外退出。

请帮我解决这个问题。

【问题讨论】:

    标签: android kotlin gradle android-gradle-plugin aapt2


    【解决方案1】:

    也许会有所帮助

    Various bug reports 提到手动安装 Windows 通用 C 运行时会有所帮助。看看有没有帮助。

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

    【讨论】:

    • 我试图停止 windows 通用 c 运行时,但 ot 是为 windows 8 提供的,而且据说通用 c 运行时默认安装在 windows 10 中....也不是运行时问题,因为我可以通过 cmd 执行 aapt2.exe .....如果可能,请提出另一种解决方案
    猜你喜欢
    • 1970-01-01
    • 2022-06-21
    • 2020-07-18
    • 1970-01-01
    • 2014-05-25
    • 1970-01-01
    • 1970-01-01
    • 2021-04-26
    • 2020-05-19
    相关资源
    最近更新 更多