出现该错误一般有两个原因: 1.拼写错误。例如把android写成了amdroid 2.xml文档内没有加入 xmlns:android="http://schemas.android.com/apk/res/android" 引用。