AirtestProject / AirtestProject/PocoService.apk

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

Đang mở
#4 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
45
Fork
29
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.