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>
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..
This problem sometime may happen when a current user doesn't have enough permission to access ./idea/workspace.xml
file.
SOLUTION:
Go to your project root directory and run this command sudo chown -R $USER:$USER .idea/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With