I received error in my xml file. \"Incorrect line ending: found carriage return (\\r) without corresponding newline (\\n).
If you happen to get this annoying error from time to time when you open an android activity xml file just press ctrl+shift+f to reformat your text and you’re good to go!
xml
ctrl+shift+f