Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top