android-studio - 如何解决这个Android Studio项目错误?

标签 android-studio gradle build.gradle

失败:生成失败,发生异常。

  • 出了什么问题:
    任务':app:mergeDebugResources'的执行失败。

  • Multiple task action failures occurred: A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > AAPT2 aapt2-4.0.0-6051327-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-4.0.0-6051327-windows Daemon #3: 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-4.0.0-6051327-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-4.0.0-6051327-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-4.0.0-6051327-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-4.0.0-6051327-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-4.0.0-6051327-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-4.0.0-6051327-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.

    最佳答案

    Daemon startup failed Please check if you installed the Windows Universal C Runtime.


    您是否更新了运行系统?
    下载:https://support.microsoft.com/en-ca/help/2999226/update-for-universal-c-runtime-in-windows

    关于android-studio - 如何解决这个Android Studio项目错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62809501/

    相关文章:

    android-studio - jitpack.io 依赖项不起作用

    android - 如何在 Linux mint 中更新 Android Studio?错误: Studio does not have write access to/app/extra. 请以特权用户运行更新

    android - 运行 Android Studio 模拟器时看不到我的应用程序

    java - Glassfish 服务器在应找到页面的路径上显示错误 404

    android - 在未连接 USB 的情况下运行 UiAutomator 2.0 测试用例

    java - 没有方法签名:archives.internal.DefaultManifest.srcFile()

    android - 损坏的gradle文件(Module:PackageName)并且不同步项目

    android-studio - 错误 : Cannot change attributes of configuration ':android:kapt' after it has been resolved when update Android Studio to 3. 2

    java - 如何从文件中读取jar列表并将其用作Gradle中的类路径?

    android - 如何在 Gradle 中包含不同版本的不同 apk 中的 jar 列表?