java.lang.NoClassDefFoundError: android/graphics/drawable/Icon

前端 未结 4 2054
我寻月下人不归
我寻月下人不归 2020-12-02 06:16

So far I got this error only for one user, who uses a rooted phone (SM-G900R7 Android 4.4.2). The error is like this:

Fatal Exception: java.lang.NoClassDefFo         


        
4条回答
  •  广开言路
    2020-12-02 06:39

    There are 2 options :

    1. Have you changed the support library version ? this is quite classic library issue when the resources sometimes aren't 'saved' with the same name, or at all. Its not you, its google. Try to use support lib 25, and see if this error still occurs.
    2. Try to clean the project and rebuild. Maybe you're kept with some old library versions in your build folder, and when you build your project it takes old values from it.

提交回复
热议问题