How to fix Eclipse validation error “No grammar constraints detected for the document”?

后端 未结 18 574
礼貌的吻别
礼貌的吻别 2020-12-24 05:01

Eclipse 3.5.2 is throwing an XML schema warning message:

No grammar constraints (DTD or XML schema) detected for the document.

The applica

18条回答
  •  一生所求
    2020-12-24 05:38

    Add this to your xml file's very beginning:

    
    
    

    Change RelativeLayout to your defined root layout ,then find xml file in left side, in layout folder, right click and select Validate.

提交回复
热议问题