Skip to content Skip to sidebar Skip to footer

Initialization Exception "noclassdeffounderror: Javax.naming.directory.initialdircontext" When Using Smack 4.1 On Android

I am trying to use Smack for my project. I have previously used aSmack in some of my earlier projects which worked really well. However Smack is giving me weird exceptions. Here's

Solution 1:

Don't add smack-java7 on Android projects, use smack-android instead.

Also Smack 4.2.0 is the latest Smack version.

Post a Comment for "Initialization Exception "noclassdeffounderror: Javax.naming.directory.initialdircontext" When Using Smack 4.1 On Android"