首页 > 解决方案 > Android Studio arctic 在 Windows7 中无法运行 - AAPT2 错误

问题描述

我无法从 android studio Arctic - BETA 3 运行应用程序

这是我的系统配置

操作系统:Windows 7 (Ulitmate)

位:64

这是我的日志:

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Failed to transform appcompat-1.3.0.aar (androidx.appcompat:appcompat:1.3.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\My pc.gradle\caches\transforms-3\9e3c8edbc4fae10b2cf45573f866600a\transformed\appcompat-1.3.0. > AAPT2 aapt2-7.0.0-beta03-7147631-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. Failed to transform core-1.5.0.aar (androidx.core:core:1.5.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\My pc.gradle\caches\transforms-3\b251fb1c1608cc8745709a8476b43014\transformed\core-1.5.0. > AAPT2 aapt2-7.0.0-beta03-7147631-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.5.0.aar (androidx.core:core:1.5.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}. > Execution failed for AarResourcesCompilerTransform: C:\Users\My pc.gradle\caches\transforms-3\b251fb1c1608cc8745709a8476b43014\transformed\core-1.5.0. > AAPT2 aapt2-7.0.0-beta03-7147631-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.5.0.aar (androidx.core:core:1.5.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}. > Execution failed for AarResourcesCompilerTransform: C:\Users\My pc.gradle\caches\transforms-3\b251fb1c1608cc8745709a8476b43014\transformed\core-1.5.0. > AAPT2 aapt2-7.0.0-beta03-7147631-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.5.0.aar (androidx.core:core:1.5.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}. > Execution failed for AarResourcesCompilerTransform: C:\Users\My pc.gradle\caches\transforms-3\b251fb1c1608cc8745709a8476b43014\transformed\core-1.5.0. > AAPT2 aapt2-7.0.0-beta03-7147631-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.5.0.aar (androidx.core:core:1.5.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}. > Execution failed for AarResourcesCompilerTransform: C:\Users\My pc.gradle\caches\transforms-3\b251fb1c1608cc8745709a8476b43014\transformed\core-1.5.0. > AAPT2 aapt2-7.0.0-beta03-7147631-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.5.0.aar (androidx.core:core:1.5.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}. > Execution failed for AarResourcesCompilerTransform: C:\Users\My pc.gradle\caches\transforms-3\b251fb1c1608cc8745709a8476b43014\transformed\core-1.5.0. > AAPT2 aapt2-7.0.0-beta03-7147631-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.5.0.aar (androidx.core:core:1.5.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}. > Execution failed for AarResourcesCompilerTransform: C:\Users\My pc.gradle\caches\transforms-3\b251fb1c1608cc8745709a8476b43014\transformed\core-1.5.0. > AAPT2 aapt2-7.0.0-beta03-7147631-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.5.0.aar (androidx.core:core:1.5.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}. > Execution failed for AarResourcesCompilerTransform: C:\Users\My pc.gradle\caches\transforms-3\b251fb1c1608cc8745709a8476b43014\transformed\core-1.5.0. > AAPT2 aapt2-7.0.0-beta03-7147631-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.5.0.aar (androidx.core:core:1.5.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}. > Execution failed for AarResourcesCompilerTransform: C:\Users\My pc.gradle\caches\transforms-3\b251fb1c1608cc8745709a8476b43014\transformed\core-1.5.0. > AAPT2 aapt2-7.0.0-beta03-7147631-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.5.0.aar (androidx.core:core:1.5.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}. > Execution failed for AarResourcesCompilerTransform: C:\Users\My pc.gradle\caches\transforms-3\b251fb1c1608cc8745709a8476b43014\transformed\core-1.5.0. > AAPT2 aapt2-7.0.0-beta03-7147631-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.5.0.aar (androidx.core:core:1.5.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}. > Execution failed for AarResourcesCompilerTransform: C:\Users\My pc.gradle\caches\transforms-3\b251fb1c1608cc8745709a8476b43014\transformed\core-1.5.0. > AAPT2 aapt2-7.0.0-beta03-7147631-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.5.0.aar (androidx.core:core:1.5.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}. > Execution failed for AarResourcesCompilerTransform: C:\Users\My pc.gradle\caches\transforms-3\b251fb1c1608cc8745709a8476b43014\transformed\core-1.5.0. > AAPT2 aapt2-7.0.0-beta03-7147631-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.

标签: androidwindows

解决方案


推荐阅读