Binary XML file line #8: Error inflating class android.support.design.widget.NavigationView

前端之家收集整理的这篇文章主要介绍了Binary XML file line #8: Error inflating class android.support.design.widget.NavigationView前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

android studio使用design的NavigationView报错

android.view.InflateException:Binary XML file line #8: Error inflating class android.support.design.widget.NavigationView

把appcompat-v7 与design 的版本号改为一致
compile 'com.android.support:appcompat-v7:23.2.1'
compile 'com.android.support:design:23.2.1'

猜你在找的XML相关文章