We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
有一个小问题,就是在solox启动之后,安卓设备测试完成后,并且stop后,通过usb插上另外一台安卓设备,再次采集数据,fps数据获取那里的deviceID实际还是上一台设备的id,但是其他的cpu之类的设备id已经更新成新的设备id。虽然可以通过重新启动solox来避免这个问题,但希望作者能解决一下,谢谢。我发现是跟安卓获取fps,是通过AndroidFPS实例来操作,可以考虑在这个实例的deviceId跟参数的deviceId不一致的时候,停止掉原来的fps收集和计算的线程,重新初始化一个AndroidFPS实例。这样可以保证设备更新后,采集的fps数据是正确的。
如下图所示,新设备id是f9670e24,旧设备id是P7PR9PZHEAMFSKZD,fps请求dumpsys window windows的时候adb传递的设备id还是旧的设备id。
172.24.160.1 - - [21/Sep/2024 11:29:25] "GET /apm/fps?model=normal&platform=Android&pkgname=com.KST.CS4Like_development&device=f9670e24(M2012K11AC)&surv=true&=1726889340761 HTTP/1.1" 200 - 172.24.160.1 - - [21/Sep/2024 11:29:25] "GET /apm/battery?platform=Android&device=f9670e24(M2012K11AC)&=1726889340763 HTTP/1.1" 200 - 172.24.160.1 - - [21/Sep/2024 11:29:25] "GET /apm/mem?model=normal&platform=Android&pkgname=com.KST.CS4Like_development&device=f9670e24(M2012K11AC)&process=8740%3Acom.KST.CS4Like_development&_=1726889340764 HTTP/1.1" 200 - [E 240921 11:29:25 android_fps:21] device is P7PR9PZHEAMFSKZD run_cmd:adb -s P7PR9PZHEAMFSKZD shell dumpsys window windows run_cmd:adb -s f9670e24 shell dumpsys battery reset
The text was updated successfully, but these errors were encountered:
下个版本修
Sorry, something went wrong.
No branches or pull requests
有一个小问题,就是在solox启动之后,安卓设备测试完成后,并且stop后,通过usb插上另外一台安卓设备,再次采集数据,fps数据获取那里的deviceID实际还是上一台设备的id,但是其他的cpu之类的设备id已经更新成新的设备id。虽然可以通过重新启动solox来避免这个问题,但希望作者能解决一下,谢谢。我发现是跟安卓获取fps,是通过AndroidFPS实例来操作,可以考虑在这个实例的deviceId跟参数的deviceId不一致的时候,停止掉原来的fps收集和计算的线程,重新初始化一个AndroidFPS实例。这样可以保证设备更新后,采集的fps数据是正确的。
如下图所示,新设备id是f9670e24,旧设备id是P7PR9PZHEAMFSKZD,fps请求dumpsys window windows的时候adb传递的设备id还是旧的设备id。
172.24.160.1 - - [21/Sep/2024 11:29:25] "GET /apm/fps?model=normal&platform=Android&pkgname=com.KST.CS4Like_development&device=f9670e24(M2012K11AC)&surv=true&=1726889340761 HTTP/1.1" 200 -
172.24.160.1 - - [21/Sep/2024 11:29:25] "GET /apm/battery?platform=Android&device=f9670e24(M2012K11AC)&=1726889340763 HTTP/1.1" 200 -
172.24.160.1 - - [21/Sep/2024 11:29:25] "GET /apm/mem?model=normal&platform=Android&pkgname=com.KST.CS4Like_development&device=f9670e24(M2012K11AC)&process=8740%3Acom.KST.CS4Like_development&_=1726889340764 HTTP/1.1" 200 -
[E 240921 11:29:25 android_fps:21] device is P7PR9PZHEAMFSKZD
run_cmd:adb -s P7PR9PZHEAMFSKZD shell dumpsys window windows
run_cmd:adb -s f9670e24 shell dumpsys battery reset
The text was updated successfully, but these errors were encountered: