AndroidManifest.xml error

I am trying to integrate google services into my game. I am almost done completing my first game, YAY! so my issue is when i’m doing a test build on my phone i get this error

Error building Player: XmlException: ‘manifest’ is expected file:///C:/Users/Adam/Documents/New Unity Project 2/Assets/Plugins/Android/AndroidManifest.xml Line 49, position 8.

Line 49 of my androidmanifest is .

i am truly at a loss, and have done several google searches with no result. Please help

okay, so i feel a little slow. all you have to do is rename the file to Manifest.xml and it worked. i was sure that it had to be called AndroidManifest.xml, but i guess not.

Today’s lesson is, don’t program when you haven’t had morning coffee.

I’m having this same issue, except-- when I change AndroidManifest.xml to Manifest.xml Unity then overwrites my customized manifest file with other stuff, generating two new manifest files in the process in the Temp directory.

Very annoying, because it is crucial for my project to have the custom manifest file.
Any ideas why Unity is asking for the file to be renamed?