systrace.py not found Android Studio
Asked Answered
A

1

6

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.

Ametropia answered 5/3, 2018 at 18:7 Comment(2)
The error message says systrace.py was not found. Are your running this command from the right path (maybe in android-sdk/tools/systrace) ?Micronesia
Yes I run the command in that pathAmetropia
B
0

I'm not sure if the project has been moved or rewritten, but the systrace is now part of the catapult project;

Bracketing answered 8/2, 2023 at 14:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.