Conversion to Dalvik format failed with error 1 when compiling jitsi project

I am trying to compile and run the https://github.com/jitsi/jitsi-android project in Eclipse by importing.

I successfully imported the project, added external Jar files and fix some compilation errors.

When I try to run the application, it gives

Error converting to Dalvik format with error 1 Error on the console. So I clean up the project, check all the jar files on the Order and Export tab, and build it again.

but it does not work for me.

Finally, I unchecked all libraries from the Order and Export tab, created and launched it again.

But at the same time, it gives me the same error, and my application gets crashed every time I run it.

Any help would be appreciated, I really want to run this application.

here is a screenshot of my libs folder: - enter image description here

+3
source share
1 answer

I had the same problem.

Here is what I found out when I tried to solve my problem:

  • The error occurs when there are two classes / packages with the same name (for example, when LibaryX has the class org.abcSample and LibaryY has the class org.abcSample, as well)
  • Various approaches that worked for some people (So, if you have a bug yourself, be sure to check the following things):

A) Two Libaries have the same package / class -> Delete a class in one of the Libaries

B) Jar , , , Java Path Path Libaries,

C) Proguard ( Proguard [Android SDK]\tools\proguard\lib)

D) ( , )

, , , . , , .

Felix

0

Source: https://habr.com/ru/post/1569724/


All Articles