Reputation: 157
When I want to run my project it occurs with some errors,
The error is : Exception while loading build-info.xml : org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
Anybody knows the problem ?!
Upvotes: 3
Views: 2077
Reputation: 157
I found the solution!
In Android Studio, go to : >> Build >> Rebuild Project
and then run the project again.
This works for me, I hope it works for others who have the same issue.
Upvotes: 9
Reputation: 187
This can be cause by presence of white space before declaring XML often whitespace are ignored most people don't know that it can cause error. You can share your XML code which will help me to identify where is your error is .
Upvotes: 1