NoClassDefFoundError: android.support.design.internal.NavigationMenu on Android 4.2.2 (wiko)

前端 未结 5 1482
逝去的感伤
逝去的感伤 2021-01-04 18:25

I am trying to use the Android Support Design library (in version 23.0.1) and the class NavigationMenu (I use this class as an XML tag into a layout).

W

5条回答
  •  囚心锁ツ
    2021-01-04 18:49

    I'm going with this. I haven't tried it yet, since I don't have any of the affected devices:

    -keep class !android.support.design.internal.NavigationMenu,!android.support.design.internal.NavigationMenuPresenter,!android.support.design.internal.NavigationSubMenu
    

    That goes in addition to this rule that helps many Samsung devices (see http://goo.gl/ywG1c4):

    -keep class !android.support.v7.view.menu.**,android.support.** {*;}
    

提交回复
热议问题