Android systrace not working
I am using Systrace to analyze the performance of an application.
I have tried the following command,
python systrace.py --time=10 -o mynewtrace.html sched gfx view wm
But getting the following error,
E:\sdk\android-sdk\platform-tools\systrace>python systrace.py --time=10 -o mynew
trace.html sched gfx view wm
Traceback (most recent call last):
File "systrace.py", line 286, in <module>
main()
File "systrace.py", line 60, in main
device_sdk_version = get_device_sdk_version()
File "systrace.py", line 44, in get_device_sdk_version
stderr=subprocess.PIPE)
File "E:\sdk\android-sdk\platform-tools\systrace\lib\subprocess.py", line 710,
in __init__
errread, errwrite)
File "E:\sdk\android-sdk\platform-tools\systrace\lib\subprocess.py", line 958,
in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
I am using Kitkat on a Moto e device with python 2.7 .
+4
source to share
2 answers