Skip to content
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

使用genymotion模拟器执行截图时截图进程可能crash #56

Open
leoltchen opened this issue Sep 10, 2019 · 1 comment
Open

Comments

@leoltchen
Copy link

leoltchen commented Sep 10, 2019

机型及系统版本:genymotion模拟器 google nexus4 android 5.1.0

report Error:IOError: [Errno 2] No such file or directory: 'c:\users\leoltc~1\appdata\local\temp\tmpqfs1mt.jpg'

stack:image

reason:截图工具在genymotion模拟器上运行可能会crash,导致截图失败

解决:更换成真机之后该问题未再发生

@drunkdream
Copy link
Collaborator

root@vbox86p:/data/local/tmp # getprop  | grep product
getprop  | grep product
[ro.build.product]: [vbox86p]
[ro.product.board.geny-def]: []
[ro.product.board]: []
[ro.product.brand.geny-def]: [generic]
[ro.product.brand]: [generic]
[ro.product.cpu.abi2]: [armeabi-v7a]
[ro.product.cpu.abi]: [x86]
[ro.product.cpu.abilist32]: [x86,armeabi-v7a,armeabi]
[ro.product.cpu.abilist64]: []
[ro.product.cpu.abilist]: [x86,armeabi-v7a,armeabi]
[ro.product.device.geny-def]: [vbox86p]
[ro.product.device]: [vbox86p]
[ro.product.locale.language]: [en]
[ro.product.locale.region]: [US]
[ro.product.manufacturer]: [unknown]
[ro.product.model.geny-def]: [Genymotion 'Phone' version]
[ro.product.model]: [Google Nexus 4 - 5.1.0 - API 22 - 768x1280]
[ro.product.name.geny-def]: [vbox86p]
[ro.product.name]: [vbox86p]
root@vbox86p:/data/local/tmp # qt4a/screenkit capture -p 1.png
qt4a/screenkit capture -p 1.png
root@vbox86p:/data/local/tmp # ls -l | grep 1.png
ls -l | grep 1.png
-rw-rw-rw- root     root        41380 2019-09-20 02:20 1.png
root@vbox86p:/data/local/tmp #

我这边截图是正常的,可以提供下logcat日志

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants