Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
NoClassDefFoundError on Android platform when try to use DefaultDnsSe… #8656
Andoid does not contain javax.naming.* so we should not try to use it to prevent a NoClassDefFoundError on init.
Only try to use javax.naming.* to retrieve nameservers when not using Android.