$ adb shell ip route
1.243.25.184/30 dev rmnet_data0 proto kernel scope link src 1.243.25.186
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.14
$ adb shell ip route | awk '{print $9}'
1.243.25.186
192.168.1.14
2 IPs comes out of that in my case and the second one is correct
It always say
timeout
Maybe the issue is with the
getDeviceIp
function?2 IPs comes out of that in my case and the second one is correct