Error inflating class com.google.android.material.navigation.NavigationView after migration to AndroidX

前端 未结 7 977
悲哀的现实
悲哀的现实 2020-12-19 06:11

After I updated my project to AndroidX with targetSdkVersion set to 28, my project crashes on installing it from the store for beta testing.

<
7条回答
  •  长情又很酷
    2020-12-19 06:35

    android.view.InflateException: means there is something wrong in your XML file itself.

    Please check all your dimensions, color resources, and other resources you have assigned in the XML tag.

    Or post your XML file here.

提交回复
热议问题