AirtestProject / AirtestProject/Poco

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

Abierto
#417 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
2k
Forks
341
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

问题描述:红米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上正常。)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.