Y
Y
Yugg02020-02-12 00:09:24
Unity
Yugg0, 2020-02-12 00:09:24

How to solve the problem when compiling on Android Unity?

When compiling an Android project, a problem occurs:
5e431570805a3129934701.png
Translates to: "Unable to convert classes to dex format. See console for details"

Console:
5e431672111e0645329063.png
5e43168191cdb746845920.png
5e43168ca83da643297107.png

In my opinion, the problem is in "Java".

There is also a problem with the JDK:
5e4317539fec0921238846.png

The problem is that when you change the path to the Java folder (as shown on the web).
It gives me this:
5e4317ab94095808077323.png

If you need to clarify something, ask.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2020-02-12
@YugGO

You have double included unity ads in your project.
Either for some reason you manually uploaded two versions, or (like there is such an option) you uploaded one version, and the second one was uploaded by the unit. Somewhere in the ads settings there is a checkmark "import automatically" - just uncheck it. Or remove your version of ads,

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question