Caused by: android.view.InflateException: Binary XML file line #7: Binary XML file line #8: Error inflating class android.widget.TextView
最后报错: Caused by: android.content.res.Resources$NotFoundException: Resource "com.example.dbtest:drawable/search_home_shape" (7f0600af) is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f0600af
这个是解决问题的重要提示,说引用的路径错误,很奇怪,这个dbTest项目并不是运行的项目的报名,不造为啥牵扯到了他,
clean project和rebuild project和重启AS都没能解决,
最后把引用的文件,在磁盘的根文件里,移动到drawable目录,成功解决。
记录下来,作为参考。