stealthcopter / AndroidNetworkTools

Set of useful android network tools
Apache License 2.0
1.39k stars 282 forks source link

HTC Ping error #35

Closed kibrushi closed 6 years ago

kibrushi commented 6 years ago

Dear friend, first of all thanks for this amazing library and sorry for my english.

After many tests with lot off devices i found a problem with Htc M9. When i make a ping request it's always return 0 and in PingResult error is always failed.

there are some examples from my logs :

PingResult{ia=speedtest.hyperhosting.gr/31.22.112.100, isReachable=false, error='failed, exit = 1', timeTaken=0.0, fullString='null', result='null'}

PingResult{ia=speedtest.hyperhosting.gr/31.22.112.100, isReachable=false, error='failed, exit = 1', timeTaken=0.0, fullString='null', result='null'}

PingResult{ia=speedtest.gr-ix.gr/62.217.126.171, isReachable=false, error='failed, exit = 1', timeTaken=0.0, fullString='null', result='null'}

PingResult{ia=speedtest.gr-ix.gr/62.217.126.171, isReachable=false, error='failed, exit = 1', timeTaken=0.0, fullString='null', result='null'}

So my question is if it's library bug or something going wrong with my code. Thanks in advance.

stealthcopter commented 6 years ago

Can you show the code you are using? I think it's most likely you are trying to use a native ping binary on a phone that doesn't have one.

stealthcopter commented 6 years ago

Closing as no response, please reopen if you are still having this problem