Android build AndroidManifest.xml error

Try to build ionic project in android studio on Mac, error came up as follow, anyone can give some clue.

Element at AndroidManifest.xml:32:5-84 duplicated with element declared at AndroidManifest.xml:27:5-60

~/AndroidManifest.xml Error:
Validation failed, exiting

AndroidManifest.xml File.

<?xml version='1.0' encoding='utf-8'?>

Use the <> above to format the code you are posting, the xml file hasn’t been rendered correctly here.

BTW it says there is duplication, so check your xml for that.