2

In my XML file, i made a few LinearLayout's, and for some reason I get an error on line : xmlns:android="http://schemas.android.com/apk/res/android". It is marked with red (Error) and the error log says : "Unexpected namespace prefix "xmlns" found for tag LinearLayout"

Does somebody know what that means?

Shobhit Puri
  • 25,769
  • 11
  • 95
  • 124
user1919052
  • 247
  • 2
  • 5
  • 11

2 Answers2

7

1) Only use that in the outermost layout that you have. It is sufficient to specify once. Remove all the other occurrences of it.

see Unexpected namespace prefix "xmlns" found for tag LinearLayout

Community
  • 1
  • 1
Shobhit Puri
  • 25,769
  • 11
  • 95
  • 124
-1

if you are working on eclipse just go to Project on menu, and then Clean...error fix :D

Adhun
  • 1