I am having an error in following xml file. \"Unexpected namespace prefix \"xmlns\" found for tag LinearLayout\". I tried the solutions provided in other similar qu
I think remove the unneeded line is a more suitable way because:
1) Clean the Project will only resolve the problem once. And if you launch the project again or switch from another file to this xml file, it will show the error again.
2) More importantly, "xmlns:XXX" should be the property of the first node.