title: Android Studio DexIndexOverflowException: method ID not in
body: <p>I use Android Studio to develop an application and I face this error which I have no idea how to solve.</p>
  
  <blockquote>
    <p>com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]</p>
  </blockquote>
  
  <pre><code>:app:lintVitalRelease
  :app:prePackageMarkerForRelease
  :app:transformClassesWithDexForRelease FAILED
  Error:Execution failed for task ':app:transformClassesWithDexForRelease'.
  &gt; com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536
  Information:BUILD FAILED
  Information:Total time: 34.783 secs
  Information:1 error 
  </code></pre>