Closed George-Miao closed 4 years ago
You need to call device1.connect()
before calling device1.shell
. And omit "adb shell" from the command.
I created a new release that will throw an exception if you try to send an ADB command before connecting to the device.
I tested this on Windows and it works just fine.
Description
Trying to connect to a local simulator (Nox Simulator) on windows, get
TypeError
while connecting to socketTraceback
Found a Question on StackOverflow that might be helpful (select doesn't work with non-socket objects on windows)