I have been learning how to use Systrace following instructions on how to use Systrace (from the Android Developers website). I've tried using both the GUI and the Terminal (command line).
Using the GUI:
I received an error after the trace had finished and was being saved. I clicked on the 'Details' button and overall, was given the following message:
Unable to collect system trace
Reason: Unexpected error while collecting system trace.
Conversion = ';'
The Systrace file was not saved.
Using the command line:
I've tried using the command line as well using the GUI (although I'm new to using the command line).
Typing $ cd android-sdk/platform-tools/systrace
or $ python systrace.py
into the command line returns the error:
'$' is not recognized as an internal or external command, operable program or batch file.
Using cd android-sdk/platform-tools/systrace
(without the $
character) gives this error:
The system cannot find the path specified.
And using python systrace.py
(again, without the$
this time) returns this error:
'python' is not recognized as an internal or external command, operable program or batch file.
Am I missing something out, or is it something that needs to be reconfigured?
python systrace.py --time=15 -0 myTrace.html sched view wm am res dalvik membus load
, but I received the error 'python' is not recognised as an internal or external command, operable program or batch file. – Ayadb.exe
in the PATH. The systrace script uses that to communicate with the device. – Martines