解决办法详情请查看以下链接内容 : 错误提示 : InflateException: Binary XML file line #XX: Error inflating class fragment_海涛的博客-CSDN博客