android-netdiag
android-netdiag copied to clipboard
Network Diagnosis for Android
Hello, I am getting null pointer exception while performing Traceroute in case of wrong url. java.net.UnknownHostException: Unable to resolve host "apibroken.apc.com": No address associated with hostname at java.net.InetAddress.lookupHostByName(InetAddress.java:424) at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)...
fix a nullpointexception
API reference
This library very useful to me thanks . i have one little query can i use direct ip address like 8.8.8.8 rather then domain name ? i had tried but...
sorry for my ignorance, but where is the file layout, I tried to create a new app using its codes but it went wrong, I would if possible the complete...
https://github.com/qiniu/android-netdiag/blob/16ae449ea9091a4039d4ae67efc088f9b76689e7/library/src/main/java/com/qiniu/android/netdiag/DNS.java#L137 Please use this instead. https://developer.android.com/reference/android/net/LinkProperties.html#getDnsServers()
May cause null pointer exception when failed to running "::getIp" function.