gradle 在Android Studio中启动或构建应用程序时出现错误“Execution failed for task ':app:processingResource'”?

wfypjpf4  于 12个月前  发布在  Android
关注(0)|答案(1)|浏览(146)

我的android工作室是完美的工作,以及我新安装在我的新窗口后.我打开android工作室约15天后(现在)和更新了一些依赖关系.我得到这个错误,而建设项目或启动应用程序在虚拟/物理设备?
请任何人帮助我在这种情况下,这是非常重要的我!

Execution failed for task ':app:processDebugResources'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Failed to transform appcompat-1.6.1.aar (androidx.appcompat:appcompat:1.6.1) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\2e1BQZKqdp2CV3QV5nUEsqSg1ygegLmqRygj\transformed\appcompat-1.6.1.
         > AAPT2 aapt2-8.1.1-10154469-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.
   > Failed to transform play-services-base-18.1.0.aar (com.google.android.gms:play-services-base:18.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\914a48735981d496ffe7a0bf3561820a\transformed\play-services-base-18.1.0.
         > AAPT2 aapt2-8.1.1-10154469-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.
   > Failed to transform play-services-base-18.1.0.aar (com.google.android.gms:play-services-base:18.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\914a48735981d496ffe7a0bf3561820a\transformed\play-services-base-18.1.0.
         > AAPT2 aapt2-8.1.1-10154469-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.
   > Failed to transform play-services-base-18.1.0.aar (com.google.android.gms:play-services-base:18.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\914a48735981d496ffe7a0bf3561820a\transformed\play-services-base-18.1.0.
         > AAPT2 aapt2-8.1.1-10154469-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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform core-1.9.0.aar (androidx.core:core:1.9.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\adad71850fc2705f50aed16a5c9c1998\transformed\core-1.9.0.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #0: 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.
   > Failed to transform ambilwarna-2.0.1.aar (com.github.yukuku:ambilwarna:2.0.1) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for AarResourcesCompilerTransform: C:\Users\rafiq\.gradle\caches\transforms-3\5363d17d57f604507da9e04093fd2f44\transformed\ambilwarna-2.0.1.
         > AAPT2 aapt2-8.1.1-10154469-windows Daemon #1: 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.

* Try:
> 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.

字符串
我无效所有缓存,但不工作.我重新启动android studio多次,但不工作.

l7wslrjt

l7wslrjt1#

答案可能隐藏在输出中的这一行中:
请检查是否安装了Windows Universal C++。
所以,请检查您是否安装了所有必需的依赖项。

相关问题