Which aSmack jar file (android-14, android-15,

2019-05-21 18:50发布

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 .

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条回答
姐就是有狂的资本
2楼-- · 2019-05-21 19:08

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

查看更多
登录 后发表回答