今天在编写XML文件时,发现了“Attribute is missing the Android namespace prefix”错误,经过查证,原来是android写成了adroid!
Element type "TextView" must be followed by either attribute specifications, ">" or "/>".这一版就是格式错误,把">" or "/>"删掉重新写就OK了
error: No resource identifier found for attribute 'layout_centerInparent' in package 'android'
就是layout_centerInparent编写错误,应该是layout_centerInParent