I run Intellij, and when I try to run an android app, I always have an internal error: Content is not allowed in prolog. I think that I have tried everything to fix it, but
I can't see anything specific to the AndroidManifest in there. Maybe one of your project files is corrupt?
Appears to be the same as this question: Android Studio Issue - Premature end of file