Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
NoSuchMethodError: org.apache.commons.lang3.Validate.inclusiveBetween #394
Another one is:
java.lang.NoSuchMethodError: No static method inclusiveBetween(JJJLjava/lang/String;)V in class Lorg/apache/commons/lang3/Validate; or its super classes (declaration of 'org.apache.commons.lang3.Validate' appears in /system/framework/framework.jar:classes2.dex)
The app is shpped with commons-lang3-3.4.jar dependency but seems to me that the Xiaomi custom image of Android already comes with a different version of the same library.
Thanks in advance.
Method inclusiveBetween in class Validate is present since version 3.0
Smartphones with this issue are both Xiaomi or Lenovo (from Android 4.4. to Android 6.0).
Logs do not reveal anything else...
We'll try your fix ASAP.