title: Android : app loading library at runtime on Lollipop but not IceCreamSandwich
body: <p>I'm currently developping an Android app using Android Studio. Currently, the app is launching perfectly on Lollipop devices, but crashes at launch due to a <code>ClassNotFoundException</code> on pre-lollipop devices (i've tested on ICS and it fail).</p>
  
  <p>The missing class is always from an external librairies at runtime.</p>
  
  <p>Here's the gradle file :</p>
  
  <pre><code>    buildscript {
      repositories {
          maven { url 'https://maven.fabric.io/public' }
      }
  
      dependencies {
          classpath 'io.fabric.tools:gradle:1.+'
      }
  }
  apply plugin: 'com.android.application'
  apply plugin: 'io.fabric'
  
  android {
      compileSdkVersion 23
      buildToolsVersion '23.0.0'
      defaultConfig {
          applicationId 'com.kappsports.kapp10'
          minSdkVersion 18
          targetSdkVersion 23
          versionCode 1
          versionName '1.0.0'
          multiDexEnabled true
      }
      buildTypes {
          release {
              minifyEnabled false
              shrinkResources true
          }
      }
      lintOptions {
          abortOnError false
      }
      dexOptions {
          incremental true
          javaMaxHeapSize '4g'
      }
  }
  
  repositories {
      mavenCentral()
      maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
      maven { url 'https://maven.fabric.io/public' }
      jcenter()
  }
  
  dependencies {
      compile fileTree(dir: 'libs', exclude: 'android-support-v4.jar', include: '*.jar')
      compile('com.crashlytics.sdk.android:crashlytics:2.5.1@aar') {
          transitive = true;
      }
      compile 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
      compile 'com.github.johnpersano:supertoasts:1.3.4@aar'
      compile 'com.google.code.gson:gson:2.3'
      compile 'com.squareup:otto:1.3.5'
      compile 'com.makeramen:roundedimageview:1.3.0'
      compile 'com.jakewharton:butterknife:6.0.0'
      compile 'com.malinskiy:superrecyclerview:1.0.0'
      compile 'com.android.support:multidex:1.0.1'
      compile 'com.jpardogo.materialtabstrip:library:1.0.9'
      compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3'
      compile 'com.squareup.okhttp:okhttp:2.4.0'
      compile 'org.buraktamturk:loadingview:1.0.0@aar'
      compile 'com.facebook.android:facebook-android-sdk:4.1.0'
      compile 'com.github.navasmdc:MaterialDesign:1.5@aar'
      compile 'net.danlew:android.joda:2.8.2'
      //noinspection GradleCompatible
      compile 'com.android.support:appcompat-v7:22.2.1'
      compile 'com.google.android.gms:play-services:7.5.0'
      //noinspection GradleCompatible
      compile 'com.android.support:recyclerview-v7:22.2.1'
  
  }
  </code></pre>
  
  <p>Here is a shunk of logcat output :</p>
  
  <pre><code>&gt; 09-06 23:25:58.414  27436-27436/? W/dalvikvm﹕ Link of class
  &gt; 'Lio/fabric/sdk/android/InitializationTask;' failed 09-06 23:25:58.414
  &gt; 27436-27436/? E/dalvikvm﹕ Could not find class
  &gt; 'io.fabric.sdk.android.InitializationTask', referenced from method
  &gt; io.fabric.sdk.android.Kit.&lt;init&gt; 09-06 23:25:58.414  27436-27436/?
  &gt; W/dalvikvm﹕ VFY: unable to resolve new-instance 8228
  &gt; (Lio/fabric/sdk/android/InitializationTask;) in
  &gt; Lio/fabric/sdk/android/Kit; 09-06 23:25:58.414  27436-27436/?
  &gt; D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x0003 09-06 23:25:58.414 
  &gt; 27436-27436/? W/dalvikvm﹕ Unable to resolve superclass of
  &gt; Lio/fabric/sdk/android/InitializationTask; (8269) 09-06 23:25:58.414 
  &gt; 27436-27436/? W/dalvikvm﹕ Link of class
  &gt; 'Lio/fabric/sdk/android/InitializationTask;' failed 09-06 23:25:58.414
  &gt; 27436-27436/? W/dalvikvm﹕ Unable to resolve superclass of
  &gt; Lio/fabric/sdk/android/InitializationTask; (8269) 09-06 23:25:58.414 
  &gt; 27436-27436/? W/dalvikvm﹕ Link of class
  &gt; 'Lio/fabric/sdk/android/InitializationTask;' failed 09-06 23:25:58.414
  &gt; 27436-27436/? I/dalvikvm﹕ Could not find method
  &gt; io.fabric.sdk.android.InitializationTask.getDependencies, referenced
  &gt; from method io.fabric.sdk.android.Kit.getDependencies 09-06
  &gt; 23:25:58.414  27436-27436/? W/dalvikvm﹕ VFY: unable to resolve virtual
  &gt; method 57413:
  &gt; Lio/fabric/sdk/android/InitializationTask;.getDependencies
  &gt; ()Ljava/util/Collection; 09-06 23:25:58.414  27436-27436/? D/dalvikvm﹕
  &gt; VFY: replacing opcode 0x6e at 0x0002 09-06 23:25:58.414  27436-27436/?
  &gt; W/dalvikvm﹕ VFY: unable to find class referenced in signature
  &gt; (Lio/fabric/sdk/android/services/common/IdManager;) 09-06 23:25:58.414
  &gt; 27436-27436/? W/dalvikvm﹕ Unable to resolve superclass of
  &gt; Lio/fabric/sdk/android/InitializationTask; (8269) 09-06 23:25:58.414 
  &gt; 27436-27436/? W/dalvikvm﹕ Link of class
  &gt; 'Lio/fabric/sdk/android/InitializationTask;' failed 09-06 23:25:58.414
  &gt; 27436-27436/? W/dalvikvm﹕ Unable to resolve superclass of
  &gt; Lio/fabric/sdk/android/InitializationTask; (8269) 09-06 23:25:58.414 
  &gt; 27436-27436/? W/dalvikvm﹕ Link of class
  &gt; 'Lio/fabric/sdk/android/InitializationTask;' failed 09-06 23:25:58.414
  &gt; 27436-27436/? I/dalvikvm﹕ Could not find method
  &gt; io.fabric.sdk.android.InitializationTask.executeOnExecutor, referenced
  &gt; from method io.fabric.sdk.android.Kit.initialize 09-06 23:25:58.414 
  &gt; 27436-27436/? W/dalvikvm﹕ VFY: unable to resolve virtual method 57412:
  &gt; Lio/fabric/sdk/android/InitializationTask;.executeOnExecutor
  &gt; (Ljava/util/concurrent/ExecutorService;[Ljava/lang/Object;)V 09-06
  &gt; 23:25:58.414  27436-27436/? D/dalvikvm﹕ VFY: replacing opcode 0x6e at
  &gt; 0x0011 09-06 23:25:58.414  27436-27436/? W/dalvikvm﹕ VFY: unable to
  &gt; find class referenced in signature
  &gt; (Lio/fabric/sdk/android/services/common/IdManager;) 09-06 23:25:58.419
  &gt; 27436-27436/? W/dalvikvm﹕ Unable to resolve superclass of
  &gt; Lio/fabric/sdk/android/InitializationTask; (8269) 09-06 23:25:58.419 
  &gt; 27436-27436/? W/dalvikvm﹕ Link of class
  &gt; 'Lio/fabric/sdk/android/InitializationTask;' failed 09-06 23:25:58.419
  &gt; 27436-27436/? D/dalvikvm﹕ DexOpt: unable to opt direct call 0xe03e at
  &gt; 0x05 in Lio/fabric/sdk/android/Kit;.&lt;init&gt; 09-06 23:25:58.419 
  &gt; 27436-27436/? D/AndroidRuntime﹕ Shutting down VM 09-06 23:25:58.419 
  &gt; 27436-27436/? W/dalvikvm﹕ threadid=1: thread exiting with uncaught
  &gt; exception (group=0x41bfb700) 09-06 23:25:58.419  27436-27436/?
  &gt; E/AndroidRuntime﹕ FATAL EXCEPTION: main
  &gt;     java.lang.NoClassDefFoundError: io.fabric.sdk.android.services.common.ExecutorUtils
  &gt;             at com.crashlytics.android.core.CrashlyticsCore.&lt;init&gt;(CrashlyticsCore.java:205)
  &gt;             at com.crashlytics.android.core.CrashlyticsCore$Builder.build(CrashlyticsCore.java:189)
  &gt;             at com.kappsports.kapp10.Kapp10Application.onCreate(Kapp10Application.java:53)
  &gt;             at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024)
  &gt;             at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4684)
  &gt;             at android.app.ActivityThread.access$1400(ActivityThread.java:159)
  &gt;             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1376)
  &gt;             at android.os.Handler.dispatchMessage(Handler.java:99)
  &gt;             at android.os.Looper.loop(Looper.java:176)
  &gt;             at android.app.ActivityThread.main(ActivityThread.java:5419)
  &gt;             at java.lang.reflect.Method.invokeNative(Native Method)
  &gt;             at java.lang.reflect.Method.invoke(Method.java:525)
  &gt;             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)
  &gt;             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862)
  &gt;             at dalvik.system.NativeStart.main(Native Method) 09-06 23:25:58.424    2346-2891/? I/ActivityManager﹕ Notify an
  &gt; ApplicationCrash
  </code></pre>
  
  <p>I'm currently out of solution for now. Any clue about that would be appreciated.</p>
  
  <p>Thanks,
  Regards.</p>