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

前端 未结 7 926
悲哀的现实
悲哀的现实 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:54

    In my case, I manually moved everything in res/drawable-v24 to res/drawable folder and res/mipmap-anydpi-v26 to res/mipmap-hdpi and problem was solved in phones with Android 5 and 6.

    0 讨论(0)
提交回复
热议问题