I am getting java.lang.NoClassDefFoundError runtime error, when I run the app on pre-lollipop device. This works perfectly on lollipop device.
This error happens, if in runtime any class method does not found. This may be due missing jar or wrong classpath. But in my case, the same apk works well on lollipop devices and does not work on pre-lollipop device. Any clue, what is wrong?
I have enabled multidex support for the project, using AndroidStudio 2.1, gradle 2.1.0