I am trying to jmDNS jar , but when I run my app it is throwing error like NoClassDefFoundError: javax.jmdns.JmDNS .
It is throwing error from this line
jmdns = JmDNS.create();
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Make sure your jar is included in your projects /libs directory. That is the only place that will ensure it is properly added to the jvm at runtime on device. There can be several other issues which you should used adb logcat *:D to watch the classloading to discover. Look for L errors happening before the exception itself.