简体   繁体   中英

xmlns:android=“http://schemas.android.com/apk/res/android” gets added to all my layout objects causing errors

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

The problem might be with your lint errors

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM