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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by firsthubgit
, 10 months ago
Too many classes in --main-dex-list, main dex capacity exceeded
via Stack Overflow by GR1975
, 10 months ago
Too many classes in --main-dex-list, main dex capacity exceeded
via GitHub by hermanbanken
, 1 year ago
Too many classes in --main-dex-list, main dex capacity exceeded
via Stack Overflow by Joel
, 1 year ago
Too many classes in --main-dex-list, main dex capacity exceeded
via Stack Overflow by Sreenivas Karthikeyan
, 1 year ago
Too many classes in --main-dex-list, main dex capacity exceeded
via Stack Overflow by Sreenivas Karthikeyan
, 1 year ago
Too many classes in --main-dex-list, main dex capacity exceeded
com.android.dex.DexException: Too many classes in --main-dex-list, main dex capacity exceeded
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:546)
at com.android.dx.command.dexer.Main.runMultiDex(Main.java:366)
at com.android.dx.command.dexer.Main.run(Main.java:275)
at com.android.dx.command.dexer.Main.main(Main.java:245)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.