title: Using Quasar Fibers in Android App
body: <p>I have been trying to use Quasar fibers in my app, but I am wondering if this library not suitable to the Android JVMs.</p>
  
  <p>I have in my <code>build.gradle</code>:</p>
  
  <pre><code>configurations {
      quasar
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:21.0.3'
      compile 'com.google.android.gms:play-services:6.5.87'
      compile 'co.paralleluniverse:quasar-core:0.6.2'
  }
  </code></pre>
  
  <p>When running a build I get the following output in the gradle console:</p>
  
  <pre><code>Executing tasks: [:app:assembleDebug]
  
  Configuration on demand is an incubating feature.
  :app:preBuild
  :app:compileDebugNdk UP-TO-DATE
  :app:preDebugBuild
  :app:checkDebugManifest
  :app:preReleaseBuild
  :app:prepareComAndroidSupportAppcompatV72103Library UP-TO-DATE
  :app:prepareComAndroidSupportSupportV42103Library UP-TO-DATE
  :app:prepareComGoogleAndroidGmsPlayServices6587Library UP-TO-DATE
  :app:prepareDebugDependencies
  :app:compileDebugAidl UP-TO-DATE
  :app:compileDebugRenderscript UP-TO-DATE
  :app:generateDebugBuildConfig UP-TO-DATE
  :app:generateDebugAssets UP-TO-DATE
  :app:mergeDebugAssets UP-TO-DATE
  :app:generateDebugResValues UP-TO-DATE
  :app:generateDebugResources UP-TO-DATE
  :app:mergeDebugResources UP-TO-DATE
  :app:processDebugManifest UP-TO-DATE
  :app:processDebugResources UP-TO-DATE
  :app:generateDebugSources UP-TO-DATE
  :app:compileDebugJava UP-TO-DATE
  :app:preDexDebug UP-TO-DATE
  :app:dexDebug
  UNEXPECTED TOP-LEVEL EXCEPTION:
  com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536
      at com.android.dx.merge.DexMerger$6.updateIndex(DexMerger.java:502)
      at com.android.dx.merge.DexMerger$IdMerger.mergeSorted(DexMerger.java:277)
      at com.android.dx.merge.DexMerger.mergeMethodIds(DexMerger.java:491)
      at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:168)
      at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)
      at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)
      at com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)
      at com.android.dx.command.dexer.Main.run(Main.java:246)
      at com.android.dx.command.dexer.Main.main(Main.java:215)
      at com.android.dx.command.Main.main(Main.java:106)
  
  
   FAILED
  
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  Execution failed for task ':app:dexDebug'.
  &gt; com.android.ide.common.internal.LoggedErrorException: Failed to run command:
      /Users/macbookpro/Library/Android/sdk/build-tools/21.1.2/dx --dex --no-optimize --output /Users/macbookpro/AndroidStudioProjects/ThumbTastic/app/build/intermediates/dex/debug --input-list=/Users/macbookpro/AndroidStudioProjects/ThumbTastic/app/build/intermediates/tmp/dex/debug/inputList.txt
    Error Code:
      2
    Output:
  
      UNEXPECTED TOP-LEVEL EXCEPTION:
      com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536
          at com.android.dx.merge.DexMerger$6.updateIndex(DexMerger.java:502)
          at com.android.dx.merge.DexMerger$IdMerger.mergeSorted(DexMerger.java:277)
          at com.android.dx.merge.DexMerger.mergeMethodIds(DexMerger.java:491)
          at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:168)
          at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)
          at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)
          at com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)
          at com.android.dx.command.dexer.Main.run(Main.java:246)
          at com.android.dx.command.dexer.Main.main(Main.java:215)
          at com.android.dx.command.Main.main(Main.java:106)
  
  
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  
  BUILD FAILED
  
  Total time: 8.881 secs
  </code></pre>
  
  <p>I am stuck, anyone know what I should do? Could this even work?</p>