4

At some point after updating all my ADT tools and Eclipse, all my XML files error when I open them

xmlns:android="http://schemas.android.com/apk/res/android" gets added to every layout object (root object like how I originally set it, and nested RelativeLayouts and LinearLayouts and FrameLayouts)

this causes errors in that XML file and I have to manually remove them, even with find and replace this is unnecessarily and tedious to do when I just want to look at an xml document

why is this happening, how can I prevent it

CQM
  • 42,592
  • 75
  • 224
  • 366
  • @blackbelt I have the newest everything, no nightlies though. I was hoping that would fix all the bugs – CQM May 22 '13 at 15:46
  • http://stackoverflow.com/questions/16636039/java-lang-classnotfoundexception-after-changing-nothing-in-the-project-but-upgra/16636127#16636127. try this if it helps – Raghunandan May 22 '13 at 15:46
  • @Raghunandan did not help, I had to do that stuff for some other things after updating to ADT 22, but this problem is still here for me – CQM May 22 '13 at 15:48
  • strange coz i have not come across anything like this before. Curious to see the solution posted by others. will wait for an asnwer – Raghunandan May 22 '13 at 15:49
  • once i also faced same problem – Shakeeb Ayaz Jun 13 '13 at 09:43
  • @user123 do you know what caused it or what exactly made it go away? – CQM Jun 13 '13 at 12:25
  • i didn't got any proper solution therefore i reinstalled it – Shakeeb Ayaz Jun 14 '13 at 08:04
  • Have you discovered the solution to this? I just updated my eclipse and now I've started getting this also. I tried the clearning lint markers and it was of no help – Hank Wilson Aug 17 '13 at 14:08

1 Answers1

0

The problem might be with your lint errors

Right click your project goto-> Android Tools... -> choose Clear Lint Markers

Padma Kumar
  • 19,893
  • 17
  • 73
  • 130