0

I have 2 genymotion emulators. If I watch for logcat inside adnroid studio by switching devices, it works fine but just for several minutes, then one of device logs becomes empty (logcat restart does not help in this case, only restart of android sudio meters)
I tried to open 2 terminal windows and fetch logcat from there (as sugested in this topic), but:

adb devices

returns

adb devices
List of devices attached
192.168.57.102:5555 device
192.168.57.101:5555 device

Then I got

 adb -s 192.168.57.101.5555 logcat 
- waiting for device -

Or

adb -s device_ip:192.168.57.102.5555 logcat 
- waiting for device -
error: unknown host service
- waiting for device -
error: unknown host service
Community
  • 1
  • 1
Yarh
  • 4,116
  • 4
  • 39
  • 88

1 Answers1

0
adb -s 192.168.57.101.5555 logcat 

should be

adb -s 192.168.57.101:5555 logcat 

Note the difference in how the port is separated from the address.

szym
  • 4,976
  • 24
  • 33