Which aSmack jar file (android-14, android-15, …) should be included to support SDK version 14-19?

最后都变了- 提交于 2019-12-23 01:24:08

问题


I am stuck between two different errors.

  1. Unable to instantiate activity ComponentInfo

  2. unable-to-execute-dex-multiple-dex-files-define-lcom-myapp-rarray

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

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

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

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/

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.


回答1:


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



来源:https://stackoverflow.com/questions/21738372/which-asmack-jar-file-android-14-android-15-should-be-included-to-support

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