Error inflating class com.google.android.material.appbar.AppBarLayout

前端 未结 4 1993
时光说笑
时光说笑 2020-12-31 06:32

I have bellow xml:




        
4条回答
  •  轮回少年
    2020-12-31 07:13

    implementation 'com.google.android.material:material:1.0.0'
    classpath 'com.android.tools.build:gradle:3.2.0'
    

    If you have added the above two conditions and it's still showing the error you can try a "LinearLayout" instead.

提交回复
热议问题