android studio aapt2,Android studio with aapt2 windows problems

Aapt2 error in android studio when generating apk

This problem started as soon as I updated android studio to 4.1.1.

I already uninstalled and installed it, I deleted it gradle I already did several processes and I couldn't solve the problem.

Execution failed for task ':app:processDebugResources'.

> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

> Failed to transform ccl-2.8.4.aar (com.google.android.libraries.cast.companionlibrary:ccl:2.8.4) 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\Nicolas\.gradle\caches\transforms-2\files-2.1\a157a67bfc76ea22b4e9dc6044784dd7\jetified-ccl-2.8.4.

> AAPT2 aapt2-4.1.1-6503028-windows Daemon #2: Unexpected error during compile 'C:\Users\Nicolas\.gradle\caches\transforms-2\files-2.1\a157a67bfc76ea22b4e9dc6044784dd7\jetified-ccl-2.8.4\res\drawable-nodpi\album_art_placeholder.png', attempting to stop daemon.

This should not happen under normal circumstances, please file an issue if it does.

> Failed to transform play-services-cast-framework-15.0.1.aar (com.google.android.gms:play-services-cast-framework:15.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\Nicolas\.gradle\caches\transforms-2\files-2.1\f16f566ea15ba090a84a7c7a392d5912\jetified-play-services-cast-framework-15.0.1.

> AAPT2 aapt2-4.1.1-6503028-windows Daemon #1: Unexpected error during compile 'C:\Users\Nicolas\.gradle\caches\transforms-2\files-2.1\f16f566ea15ba090a84a7c7a392d5912\jetified-play-services-cast-framework-15.0.1\res\drawable-nodpi-v4\cast_album_art_placeholder.png', attempting to stop daemon.

This should not happen under normal circumstances, please file an issue if it does.

> Failed to transform play-services-base-17.1.0.aar (com.google.android.gms:play-services-base:17.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gra

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值