N
N
Neonoviiwolf2016-12-27 02:59:45
Android
Neonoviiwolf, 2016-12-27 02:59:45

What is this strange error Error:Error converting bytecode to dex: Cause: java.lang.RuntimeException: Exception parsing classes?

Good!
Here, when building my application, I started to pour
Error: Error converting bytecode to dex:
Cause: java.lang.RuntimeException: Exception parsing classes
did not find any reasons, on stackoverflow they wrote what needs to be added to the build.grade file

defaultConfig {
    ...
    multiDexEnabled true
}

yes, the error disappeared, but what was the reason for it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2016-12-27
@Neonoviiwolf

I'm starting to suspect that most young developers are Boko Haram. I don’t know how else to explain the reluctance to read documentation, articles and books.
Description of the multiDexEnabled parameter in the official documentation. And the first link in Google, for those who can not in English.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question