InflateException with FloatingActionButton from Official Design Library

前端 未结 7 1547
谎友^
谎友^ 2020-11-27 04:54

I am getting a bug using the official FloatingActionButton from Google\'s support design library.

Here is my LogCat.

android.view.Infla         


        
7条回答
  •  悲&欢浪女
    2020-11-27 05:05

    I had the same issue and tried different solution. But the one that worked for me was to ensure that appcompat and design support library versions are the same. for example:

    compile 'com.android.support:appcompat-v7:23.2.0'
    compile 'com.android.support:design:23.2.0'
    

提交回复
热议问题