错误InflateException:二进制XML文件行#20

时间:2014-01-17 16:35:27

标签: android xml android-listview

当我尝试从数据创建自定义ListView到sqlite时,我收到此错误。 我正在尝试从sqlite获取数据并使用baseadapter在自定义布局上对此数据进行充气。

错误:

01-17 13:18:37.078: E/AndroidRuntime(6279): FATAL EXCEPTION: main
01-17 13:18:37.078: E/AndroidRuntime(6279): android.view.InflateException: Binary XML file line #20: Error inflating class android.support.v7.widget.Space
01-17 13:18:37.078: E/AndroidRuntime(6279):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:698)
01-17 13:18:37.078: E/AndroidRuntime(6279):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
01-17 13:18:37.078: E/AndroidRuntime(6279):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
01-17 13:18:37.078: E/AndroidRuntime(6279):     at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
01-17 13:18:37.078: E/AndroidRuntime(6279):     at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
01-17 13:18:37.078: E/AndroidRuntime(6279):     at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
01-17 13:18:37.078: E/AndroidRuntime(6279):     at br.com.ricainformatica.rcforcavendas.adapters.AdapterListClientes.getView(AdapterListClientes.java:49)

0 个答案:

没有答案