美文网首页
快速解决 AndroidManifest.xml 文件合并问题

快速解决 AndroidManifest.xml 文件合并问题

作者: HappyGhh | 来源:发表于2020-10-30 11:29 被阅读0次

error:

Execution failed for task ':app:processDebugManifest'.  at org.gradle.api.internal.tasks.execution.

问题描述:

AndroidManifest.xml 文件合并失败,这种问题,一般不知道从哪里入手,因为没法准确定位到问题发生的地方

解决办法:
在 AndroidStudio 中控制台执行

这是重点:

windows 执行:
gradlew compileDebugSource --stacktrace -info

Mac 执行:
./gradlew compileDebugSource --stacktrace -info


然后,会看到输出很多东西,,大概看下,找到下图所示字样 ERROR ,点击蓝色部分,可快速定位出错的地方,找到问题后去解决就OK啦。

4231604027707_.pic_hd.jpg

惯例给自己一句话:

生而为人都难逃,向死而生的煎熬

相关文章

网友评论

      本文标题:快速解决 AndroidManifest.xml 文件合并问题

      本文链接:https://www.haomeiwen.com/subject/pqjcvktx.html