1.Error parsing XML: XML or text declaration not at start of entity:检查布局文件最前面有没有空格,或者是否出现两个<xml>;<?xml 必须在第一行第一列开始。并且只能出现一次。