2

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.

Community
  • 1
  • 1
Harshit
  • 1,207
  • 1
  • 20
  • 40

1 Answers1

2

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

Flow
  • 23,572
  • 15
  • 99
  • 156
  • thanks , I see you are managing Smack after going through ignite forums , I have a quick question : Can I use Smack instead of aSmack for Android which one is better and reliable ? – Harshit Feb 13 '14 at 20:25
  • 1
    No, you can't use Smack on Android – Flow Feb 13 '14 at 20:42
  • 1
    Looking forward to 2014 GSOC , wish you good luck with Smack for Android – Harshit Feb 13 '14 at 20:59
  • can you refer me to any open source smack implementation , chat application – Harshit Feb 19 '14 at 05:13
  • @Flow actually it does matter, lots of Asmack jars have bugs ... it happening right now with me that asmack-4 connecting even connecting to server asmack-8 is crashing – Haider Ali Jul 13 '15 at 03:52