I'm currently trying to run the systrace tool for analysing my ui performance. I setup my environment as described here: https://developer.android.com/studio/command-line/systrace.html#syntax
But when I try to run
python systrace.py --time=10 -o mynewtrace.html gfx
in the Android Studio terminal I get the following error:
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'systrace.py': [Errno 2] No such file or directory
I did not find a working solution yet.
systrace.py
was not found. Are your running this command from the right path (maybe inandroid-sdk/tools/systrace
) ? – Micronesia