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

吃可爱长大的小学妹 提交于 2019-12-06 03:15:36

I've had the same problem once.

Here is what I found out when I was trying to solve my issue:

  • The error is caused when there are two Classes/Packages with the same name (For example when LibaryX has Class org.a.b.c.Sample and LibaryY has class org.a.b.c.Sample aswell)
  • Different approaches which worked for some people (So if you have the error yourself, make sure to test following things out):

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

B) One Jar is detected twice because it's for example in the project source folder and in the Java Build Path Libaries aswell

C) Updating Proguard often fixes it aswell (Put the new Proguard jars in [Android SDK folder]\tools\proguard\lib)

D) Cleaning the Project also helped many people (you already did that, so that won't be your solution)

When I had this issue myself it was caused because I did not follow the instructions of one of the libaries that I used. After following the libary instructions step by step, everything worked fine again.

Greetings Felix

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!