Issue
I am receiving the following error in my android studio project.
Cannot load settings from file
'C:\Users\user\AndroidStudioProjects....idea\workspace.xml': Error on line 3167: XML document structures must start and end within the same entity
I have looked at the line and nothing seems out of the ordinary
<state vertical-scroll-proportion="0.8210526">
<caret line="85" column="14" selection-start-line="85" selection-start-column="14" selection-end-line="86" selection-end-column="8" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#2694#3007#0" expanded="true" />
</folding>
</state>
Solution
In project/.idea
you have broken workspace.xml
file. you have to close Android Studio (Intellij IDEA), remove this file and start Android Studio. It will work..
Answered By - Harshad Pansuriya
Answer Checked By - Marie Seifert (JavaFixing Admin)