本文介绍了应该包含哪个aSmack jar文件(android-14,android-15等)来支持SDK版本19-19?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我陷入了两个不同的错误之中.

I am stuck between two different errors.

  1. 无法实例化活动ComponentInfo

无法-执行dex-multiple-dex-files-define-lcom-myapp-rarray

为了解决一个问题,我采用了1中提到的解决方案,这会导致第二个错误,反之亦然.

In order to fix one I go with solution as mentioned in 1 , and it leads to second error , and vice versa .

第一个解决方案指示进入buildpath后删除私有库,其他要求检查标记私有库.

1st solution instructs to remove private libraries after going into buildpath , other ask to check mark private libraries.

android-manifest没有问题,因为指定了Main活动

There is no problem with android - manifest , as there is activity Main specified

我的应用程序运行良好,直到添加了asmack jar文件来学习xmpp消息传递为止.现在卡住了.

My app was working fine until I included asmack jar files to learn xmpp messaging . Now its stuck .

  • Downloaded asmack jars from :http://asmack.freakempire.de/0.8.10/

我在项目中导入了多个smack jar文件,这导致了此类错误循环.现在,我想知道应该导入哪个版本的asmack以支持sdks范围,因为我无法导入导致上述错误的所有jar.

I had multiple smack jar files imported in the project that was causing such loop of errors . Now I want to know which version asmack should be imported as to support range of sdks as I am not able to import all jars which causes error as above.

推荐答案

没关系,您只需要添加一个aSmack罐即可.

It doesn't matter, you just need to add one aSmack jar.

这篇关于应该包含哪个aSmack jar文件(android-14,android-15等)来支持SDK版本19-19?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-21 19:15