AirtestProject / AirtestProject/Poco

红米K30在mac系统中启动app出现闪退(windows系统测试无问题)

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

Mô tả

(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。)

问题描述:红米K30在mac系统中启动app出现闪退(windows系统测试无问题)

```
报错信息如下
[10:16:20][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a wait-for-device
[10:16:23][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a shell getprop ro.build.version.sdk
[10:16:23][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a shell am force-stop com.taobao.taobao
[10:16:23][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a shell monkey -p com.taobao.taobao -c android.intent.category.LAUNCHER 1
[10:16:23][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a shell dumpsys activity top
[10:16:25][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a shell dumpsys package com.netease.nie.yosemite
[10:16:25][INFO] local version code is 302, installed version code is 302
[10:16:25][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a shell settings get secure default_input_method
[10:16:25][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a shell ime list -a
[10:16:25][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a shell dumpsys package com.netease.open.pocoservice
[10:16:25][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a shell dumpsys package com.netease.open.pocoservice.test
installed version is 41, installer version is 41. force_reinstall=False
[10:16:25][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a forward --no-rebind tcp:11798 tcp:10080
[10:16:25][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a forward --no-rebind tcp:16238 tcp:10081
installed version is 0, installer version is 0. force_reinstall=False
[10:16:25][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a shell ps
[10:16:25][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a shell am force-stop com.netease.open.pocoservice
[10:16:25][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a shell am start -n com.netease.open.pocoservice/.TestActivity
[10:16:25][DEBUG] /Users/fengzhaoxi/my_work/work_code/app_workspace/AppTest/airtest/core/android/static/adb/mac/adb -s bf0b4a2a shell am instrument -w -e debug false -e class com.netease.open.pocoservice.InstrumentedTestAsLauncher com.netease.open.pocoservice.test/android.support.test.runner.AndroidJUnitRunner
```

**预期效果**
App启动成功后不闪退,不报错

**相关截图**
(贴出遇到问题时的截图内容,如果有的话)

**python 版本:** `python3.7`

**poco 版本:** `1.0.79`

**airtest github代码 版本:** `v1.1.5

**设备:**
- 型号: 红米K30
- 系统: [e.g. Android 10.0]
- MIUI版本:11、12
- 平台:Mac

**其他相关环境信息**
(其他运行环境,例如在mac上运行异常,在windows上正常。)

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.