-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
红米8aJAVACAP截图不正确 #706
Labels
Comments
第二张图是ide的截图,第一张图片是什么? |
第一张截图是JAVACAP返回值解码后的原图 |
好的,我们检查一下 |
小米6 也是这种情况 |
MIUI的adb截图都是这样。。。 |
更新至airtest v1.1.4,并且卸载掉手机中 yosemite.apk,重新安装airtest文件夹里的yosemite.apk即可。 |
@hgjazhgj |
不好意思,此问题的原因是airtest自带的adb版本不是最新的起冲突了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(重要!问题分类)
描述问题bug
JAVACAP在所有横屏应用下返回的图像方向正确但尺寸不正确,就像是把一块横着放的海绵塞进了竖着放的盒子里
JAVACAP返回的图片是经过压缩编码的,这个被编码的图片就是错误的
相关截图
复现步骤
在IDE里显示的就不正确,简化后就是以下代码
预期效果
使用MINICAP会报错,使用ADB能得到正确的截图
python 版本:
python3.7
airtest 版本:
1.1.3
设备:
其他相关环境信息
win10 1909,python3.7,airtest1.1.3,adb1.0.40,Android.sdk_version=28
The text was updated successfully, but these errors were encountered: