编译报错日志: 1: Task failed with an exception.-----------* What went wrong:Execution failed for task ':app:processDebugResour
编译报错日志:
1: Task failed with an exception.-----------* What went wrong:Execution failed for task ':app:processDebugResources'.> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction > AAPT2 aapt2-7.0.3-7396180-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.
报错处理:
这是因为同一个工程中有多个 module,但都配置了 com.Android.application 这个插件。
需要将其中一个改为 com.android.library
参考文章:
来源地址:https://blog.csdn.net/xiaoyu_wu/article/details/129863092
--结束END--
本文标题: 【Gradle配置】AAPT2 aapt2-7.0.3-7396180-windows Daemon #0: Unexpected error during link
本文链接: https://lsjlt.com/news/391064.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-01-21
2023-10-28
2023-10-28
2023-10-27
2023-10-27
2023-10-27
2023-10-27
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0