Amdroid Studio编译项目报错Execution failed for task ‘:app:mergeDebugResources Please check if you installe

Amdroid Studio编译项目报错Execution failed for task ':app:mergeDebugResources Please check if you installed the Windows Universal C Runtime.

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.6.1-6040484-windows Daemon #2: 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.

百度都说 gradle版本问题,我降低版本到3.2.1才可以正常使用,高版本都不能使用

查询错误发现,是win7的一个C运行库的问题

解决办法:win7更新KB29999226补丁,这个问题就可以修复

猜你喜欢

转载自blog.csdn.net/weixin_40774418/article/details/108120351