[英]Manifest merger error: Package name 'uninitialized.application.id' used in: AndroidManifest.xml
After a gradle update in a multi module project I get the following error when building:在多模块项目中更新 gradle 后,在构建时出现以下错误:
Manifest merger failed with multiple errors, see logs
The error logs in the Merged Manifest show the following warnings:合并清单中的错误日志显示以下警告:
I tried the suggested solutions for SO posts about 'manifest merger failed with multiple errors' but they yielded no results so for now I'm assuming that the warnings are the actual problem and there seem to be no posts about this issue yet.我尝试了关于“清单合并失败并出现多个错误”的 SO 帖子的建议解决方案,但它们没有产生任何结果,所以现在我假设警告是实际问题,似乎还没有关于这个问题的帖子。 None of the manifest files in my project have an incorrect or non-existent package name but the merged manifest does indeed show "unitialized.application.id" as package name.
我的项目中的清单文件都没有不正确或不存在的 package 名称,但合并的清单确实将“unitialized.application.id”显示为 package 名称。 Does anyone happen to know how to fix this and/or where this package name/application id comes from?
有谁碰巧知道如何解决这个问题和/或这个 package 名称/应用程序 ID 来自哪里?
I get the exact same error.我得到完全相同的错误。 Did you manage to fix it?
你设法解决了吗?
The issue seemed to be related to target SDK 31. Changing it back to 30 fixes it.该问题似乎与目标 SDK 31 相关。将其更改回 30 即可解决此问题。 The compile SDK can stay at 31.
编译 SDK 可以保持在 31。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.