0

have an error in my application but I can not find it. Android 5.0 works normally, but in 4.4 of this error below:

Could not find class 'com.quickblox.q_municate.utils.ImageUtils$SmartUriDecoder', referenced from method com.quickblox.q_municate.utils.ImageUtils.getImageLoaderConfiguration

Shortly after it appears:

java.lang.NoClassDefFoundError: com.quickblox.q_municate.utils.ImageUtils$SmartUriDecoder
at com.quickblox.q_municate.utils.ImageUtils.getImageLoaderConfiguration(ImageUtils.java:67) at com.quickblox.q_municate.App.initImageLoader(App.java:32)
at com.quickblox.q_municate.App.initApplication(App.java:42)
at com.quickblox.q_municate.App.onCreate(App.java:27)

Does anyone know what can it be?

viana
  • 495
  • 4
  • 18
  • 42

2 Answers2

0

You can try doing,

multiDexEnabled = false

in your build.gradle file.

If you already have multiDexEnabled = true then change it to false or add this new line.

gprathour
  • 14,813
  • 5
  • 66
  • 90
-1

Make sure that you have the correct libraries imported in your project and go to your gradle to make sure that you're compiling everything that you're trying to use.

  • Yeah man, I'm compiling. However, the design works in 5.0 but not at 4.4. This is weird. – viana Dec 04 '15 at 11:22