AirtestProject / AirtestProject/PocoService.apk

the apk I compiled with source code not same with the apk in the IDE how to fix it?

未關閉
#4 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
45
分支
29
PR 合併指標
30 天內沒有已合併 PR

描述

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
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。