dtmilano / AndroidViewClient

Android ViewServer and ADB client
Apache License 2.0
1.61k stars 344 forks source link

No connected devices #202

Closed IgorGanapolsky closed 7 years ago

IgorGanapolsky commented 7 years ago

Hello, when I try to run your samples, I always get this error:

File "/Library/Python/2.7/site-packages/com/dtmilano/android/adb/adbclient.py", line 328, in __setTransport raise RuntimeError("ERROR: There are no connected devices")

Please advise, Igor

danafergan commented 7 years ago

Hi Igor,

Can you type "adb devices" and see if there's any output? You might also need to type "adb start-server" to get adb running, although AndroidViewClient should start it for you...

IgorGanapolsky commented 7 years ago

@danafergan You are correct, my devices weren't being reported by ADB. Fixed.