AirtestProject / AirtestProject/Airtest
realme GT Neo6 SE无法使用yosemite模式进行录屏,卡死
- 主要語言
- Python
- 星號
- 9.6k
- 分支
- 1.5k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
:bulb:**相关项目:** Airtest
**标题:** [BUG提交]realme GT Neo6 SE无法使用yosemite模式进行录屏,卡死
**AirtestIDE版本:** 无
- [x] **使用了本地Pyhton环境运行脚本**
- Python版本: 3.10
- Airtest版本: v1.3.5
**报错描述:**
realme GT Neo6 SE无法使用yosemite模式进行录屏,卡死
**相关截图:**
无
**报错Log:**
```
[12:25:21][DEBUG] E:\myPath\adb.exe -s f6857ee wait-for-device
[12:25:21][DEBUG] E:\myPath\adb.exe -s f6857ee shell getprop ro.build.version.sdk
[12:25:21][DEBUG] E:\myPath\adb.exe -s f6857ee shell ls -l /data/local/tmp/rotationwatcher.jar
[12:25:21][DEBUG] install_rotationwatcher skipped
[12:25:21][DEBUG] E:\myPath\adb.exe -s f6857ee shell app_process -Djava.class.path=/data/local/tmp/rotationwatcher.jar /data/local/tmp com.example.rotationwatcher.Main
[12:25:21][DEBUG] [rotation_server]b'0'
[12:25:22][INFO] update orientation None->0
[12:25:22][DEBUG] E:\myPath\adb.exe -s f6857ee shell wm size
[12:25:22][DEBUG] E:\myPath\adb.exe -s f6857ee shell getprop ro.sf.lcd_density
[12:25:22][DEBUG] E:\myPath\adb.exe -s f6857ee shell dumpsys SurfaceFlinger
[12:25:23][DEBUG] E:\myPath\adb.exe -s f6857ee shell dumpsys input
[12:25:23][DEBUG] E:\myPath\adb.exe -s f6857ee shell dumpsys window displays
[12:25:23][DEBUG] E:\myPath\adb.exe -s f6857ee shell getevent -p
[12:25:23][DEBUG] E:\myPath\adb.exe -s f6857ee shell dumpsys package com.netease.nie.yosemite
[12:25:23][DEBUG] E:\myPath\adb.exe -s f6857ee shell pm path com.netease.nie.yosemite
[12:25:24][DEBUG] E:\myPath\adb.exe -s f6857ee shell CLASSPATH=/data/app/~~6mMcTD8H1XnE72lvf2XvTQ==/com.netease.nie.yosemite-43aZfRr-pJkmfDBU_pVBUg==/base.apk exec app_process -Dduration=20 -Dbitrate=3513920 -Dvertical=off /system/bin com.netease.nie.yosemite.Recorder --start-record
[12:25:24][DEBUG] [start_recording_1454147844512]b'---Name:: null---duration:: 20---bitrate:: 3513920 --vertival:: off'
[12:25:24][DEBUG] [start_recording_1454147844512]b'browsing http://192.168.30.13:8686/start to start recording!'
[12:25:24][DEBUG] [start_recording_1454147844512]b'then using http://192.168.30.13:8686/download to stop and download recording.'
[12:25:24][DEBUG] [start_recording_1454147844512]b'or using http://192.168.30.13:8686/stop to stop the recording server.'
[12:25:25][DEBUG] [start_recording_1454147844512]b'TESTherere'
[12:25:25][DEBUG] [start_recording_1454147844512]b'record started, isVertical1: null'
[12:25:25][DEBUG] [start_recording_1454147844512]b'record started, isVertical2: off'
[12:25:26][DEBUG] [start_recording_1454147844512]b''
[12:34:16][DEBUG] [rotation_server]b'90'
[12:34:17][INFO] update orientation 0->1
[12:35:01][DEBUG] [rotation_server]b'0'
[12:35:02][INFO] update orientation 1->0
(------------一直卡在这)
```
**连接设备信息:**
设备类型 | 设备型号 | 系统版本号 | apk名称/下载链接
------------ | ------------- | ------------- | -------------
Android | realme GT Neo6 SE | Android 14 |
**提供最小可复现此BUG的代码:**
```
from airtest.core.api import *
auto_setup(__file__)
# 指定设备地址
device_address = "f6857ee"
# 初始化设备
dev = connect_device(f"android:///{device_address}")
# 开始录制
dev.start_recording(output="123.mp4")
time.sleep(20)
# 结束录制
dev.stop_recording()
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。