Gijs Stokman
Gijs Stokman

Reputation: 173

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:

Manifest merger failed with multiple errors, see logs

The error logs in the Merged Manifest show the following warnings: Merged Manifest logs

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. 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. Does anyone happen to know how to fix this and/or where this package name/application id comes from?

Upvotes: 7

Views: 1123

Answers (1)

Gijs Stokman
Gijs Stokman

Reputation: 173

The issue seemed to be related to target SDK 31. Changing it back to 30 fixes it. The compile SDK can stay at 31.

Upvotes: 2

Related Questions