You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I compile the apk use the source code in this repository.
The python code stopped at
The request failed, when I use the apk I compiled, but it works fine when use the apk in the airtest folder. Why is this? requests.get('http://{}:{}/uiautomation/connectionState'.format(self.device_ip, port_to_ping),
def _start_instrument(self, port_to_ping, force_restart=False):
if not force_restart:
try:
state = requests.get('http://{}:{}/uiautomation/connectionState'.format(self.device_ip, port_to_ping),
timeout=10)
# the request throw exception
state = state.json()
if state.get('connected'):
# skip starting instrumentation if UiAutomation Service already connected.
return True
except:
pass
The text was updated successfully, but these errors were encountered:
I compile the apk use the source code in this repository.
The python code stopped at
The request failed, when I use the apk I compiled, but it works fine when use the apk in the airtest folder. Why is this?
requests.get('http://{}:{}/uiautomation/connectionState'.format(self.device_ip, port_to_ping),
The text was updated successfully, but these errors were encountered: