Content is not allowed in prolog error on line1

This error occurs in android studio when the software is unexpectedly exited. And you will not get the recently opened files when you restart the software. All you need to do is as follows:


1. Exit the application when you get such error.

2. Go to your file explorer >> "C:\Users\ <username> \AndroidStudioProjects\ <project name> \.idea"

3. Here you will find workspace.xml file. Delete the same.

4. Now start the Android studio again. The error will be disappeared.

5. Done !!!

Comments

Popular posts from this blog

Download video from youtube.

Screen record your android phone