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
Check first line of xml files in .idea folder. Remove their content if error is given by intellij. They will be regenerated by intellij. And everything will work fine then.