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 件 担当者 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 を短くまとめたダイジェスト。