com.android.dex.DexException: Too many classes in --main-dex-list, main dex capacity exceeded

Stack Overflow | Xylotrope | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    JavaFXPorts Multi-Dex Android Build

    Stack Overflow | 6 months ago | Xylotrope
    com.android.dex.DexException: Too many classes in --main-dex-list, main dex capacity exceeded
  2. 0

    在Gradle下的分包方案,在Freeline编译不通过

    GitHub | 3 months ago | firsthubgit
    com.android.dex.DexException: Too many classes in --main-dex-list, main dex capacity exceeded
  3. 0

    Too many classes in --main-dex-list, main dex capacity exceeded with javafxports-plugin

    Stack Overflow | 1 month ago | GR1975
    com.android.dex.DexException: Too many classes in --main-dex-list, main dex capacity exceeded
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Too many classes in --main-dex-list, main dex capacity exceeded with jdk1.8

    Stack Overflow | 1 year ago | Joel
    com.android.dex.DexException: Too many classes in --main-dex-list, main dex capacity exceeded
  6. 0

    Too many classes in --main-dex-list, main dex capacity exceeded

    Stack Overflow | 1 year ago | Sreenivas Karthikeyan
    com.android.dex.DexException: Too many classes in --main-dex-list, main dex capacity exceeded

    46 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.android.dex.DexException

      Too many classes in --main-dex-list, main dex capacity exceeded

      at com.android.dx.command.dexer.Main.processAllFiles()
    2. Android SDK's dx Tool
      Main.main
      1. com.android.dx.command.dexer.Main.processAllFiles(Main.java:546)
      2. com.android.dx.command.dexer.Main.runMultiDex(Main.java:366)
      3. com.android.dx.command.dexer.Main.run(Main.java:275)
      4. com.android.dx.command.dexer.Main.main(Main.java:245)
      5. com.android.dx.command.Main.main(Main.java:106)
      5 frames