简体   繁体   English

清单合并错误:Package name 'uninitialized.application.id' used in:AndroidManifest.xml

[英]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.

相关问题 清单合并失败:AndroidManifest.xml:2:5-40 位置处的包名称“1”应至少包含一个“.” (点)字符 - Manifest merger failed: Package name '1' at position AndroidManifest.xml:2:5-40 should contain at least one '.' (dot) character 清单合并失败:属性 application@usesCleartextTraffic value=(true) from AndroidManifest.xml:29:9-44 - Manifest merger failed : Attribute application@usesCleartextTraffic value=(true) from AndroidManifest.xml:29:9-44 &#39;AndroidManifest.xml React native 中的应用程序包名称无效 - Invalid application's package name in 'AndroidManifest.xml React native 清单合并失败了吗?建议:添加&#39;工具:replace =“android:appComponentFactory”&#39;来 <application> AndroidManifest.xml中的元素:8:5-34:19以覆盖 - Manifest merger failed?Suggestion:add'tools:replace=“android:appComponentFactory”'to<application>element at AndroidManifest.xml:8:5-34:19 to overide 清单合并失败并出现多个错误,请参阅日志 AndroidManifest.xml:requires a placeholder replacement but no value for - Manifest merger failed with multiple errors, see logs AndroidManifest.xml:requires a placeholder substitution but no value for 错误:覆盖清单:package 在 AndroidManifest.xml:2:5-34 声明的属性。 Flutter - Error: Overlay manifest:package atribute declared at AndroidManifest.xml:2:5-34. Flutter AndroidManifest.xml中 <manifest> package属性没有命名空间 - AndroidManifest.xml <manifest> package attribute has no namespace 将 firebase 消息传递服务添加到我的 AndroidManifest.xml 文件时,清单合并失败并出现多个错误 - Manifest merger failed with multiple errors when adding firebase messaging service to my AndroidManifest.xml file AndroidManifest.xml中的错误 - Error in AndroidManifest.xml 错误 androidmanifest.xml - error androidmanifest.xml
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM