转换成Dalvik的格式失败,出现错误1,而编译jitsi项目 [英] Conversion to Dalvik format failed with error 1 while compiling jitsi project

查看:434
本文介绍了转换成Dalvik的格式失败,出现错误1,而编译jitsi项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图编译和运行项目
https://github.com/jitsi/jitsi-android在Eclipse上通过导入

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

我导入项目成功,增加了外部JAR文件,并修正了一些编译错误的。

I have imported the project successfully,Added External Jar files and Fix some of compilation errors.

当我尝试运行应用程序,这是给

When I try to run app, It is giving

转换为Dalvik的格式错误1错误失败的console.So我清洁工程,检查从订单和导出选项卡中的所有jar文件并重新建立它。

Conversion to Dalvik format failed with error 1 Error on the console.So that I Clean the project, checked the all the jar files from Order and Export tab and build it again.

但它不为我工作。

最后,我取消选中了所有的图书馆,从订单和出口标签,建立并重新运行。

Finally, I unchecked the all the libraries from Order and Export tab,build and run it again.

但它仍然给了我同样的错误,我的应用是越来越坠毁我每次运行它​​。

But still its giving me same error and my application is getting crashed every time i run it.

任何帮助将AP preciated,我真的想运行此应用程序。

Any help will be appreciated , i really want to run this application.

这是我的libs文件夹中的截图: -

here is my libs folder screenshot:-

推荐答案

我曾经有过同样的问题。

I've had the same problem once.

这里是我发现当我试图解决我的问题:


  • 当有两个类别/名称相同的包(例如,当LibaryX具有类org.a.b.c.Sample和LibaryY具有类org.a.b.c.Sample藏汉)错误造成

  • 这工作了某些人的不同的方法(所以如果你有自己的错误,请确保测试下面的事情了):

  • 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)两Libaries具有完全相同的包/类 - >删除类的Libaries之一

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

B)一个瓶子被检测到两次,因为它例如在项目源文件夹和Java构建路径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)更新Proguard的经常修复它藏汉(将新Proguard的罐子在[Android的SDK文件夹] \\工具\\ proguard的\\ LIB)

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

D)清洁项目还帮助了很多人(你已经这样做,这样就不会是你的解决方案)

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

当我有这个问题我自己那是因为我没有按照我使用了libaries之一的指令造成的。继libary指示一步一步之后,一切又工作得很好。

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

这篇关于转换成Dalvik的格式失败,出现错误1,而编译jitsi项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆