-
Notifications
You must be signed in to change notification settings - Fork 195
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
android获取fps报错,走到“无法动态获取当前Activity名称,使用page_flip统计全屏帧率!” #116
Comments
这里我放弃兼容了,很多安卓设备返回不太一样,自己拉代码兼容你的设备吧 |
|
界面不是有个surfaceview开关吗,执行前关掉就行了 |
想用api获取,发现2.3.0版本的可以获取到,2.4.7fps直接改成2.3.0了 ,谢大佬 |
apm = APM(pkgName='com.bilibili.app.in',deviceId='ca6bd5a5',platform='Android', surfaceview='false') |
不行 也是报这个错 |
改成false也是报错 |
已处理,更新最新版本2.4.8 |
self.get_focus_activity()的
adb.shell(cmd='dumpsys SurfaceFlinger | {} {}'.format(d._filterType(), self.package_name), deviceId=self.device)得到的结果没有SurfaceView关键字,返回的activity_name是“"
The text was updated successfully, but these errors were encountered: