Android Studio 4.1 Gradle 6.7:获取manifestOutputDirectory错误 [英] Android Studio 4.1 gradle 6.7 : get manifestOutputDirectory error

查看:190
本文介绍了Android Studio 4.1 Gradle 6.7:获取manifestOutputDirectory错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到Android Studio 4.1之后,编译时出现以下问题:

After upgrade to Android Studio 4.1, I've got the following issue when compiling :

> Task :app:processGoogleDebugManifest
get manifestOutputDirectory error

> Task :app:processGoogleDebugResources FAILED
Execution failed for task ':app:processGoogleDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > AAPT2 aapt2-4.1.0-6503028-windows Daemon #0: Unexpected error during link, attempting to stop daemon.
     This should not happen under normal circumstances, please file an issue if it does.

我不知道该怎么解决,谢谢您的帮助

I don't know how to solve it, thanks for your help

推荐答案

是因为版本4.1.0 我回滚到4.0.2,它的工作原理是: classpath'com.android.tools.build:gradle:4.0.2'

It was because of version 4.1.0 I rollback to 4.0.2 and it works : classpath 'com.android.tools.build:gradle:4.0.2'

希望他们会纠正

这篇关于Android Studio 4.1 Gradle 6.7:获取manifestOutputDirectory错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆