android-perf-testing
android-perf-testing copied to clipboard
Android Systrace tool throwing errors
python C:\Users\username\AppData\Local\Android\Sdk\platform-tools\systrace\systrace.py --time=5 -o mynewtrace.html gfx
Starting tracing (5 seconds)
Tracing completed. Collecting output...
Traceback (most recent call last):
File "C:\Users\username\AppData\Local\Android\Sdk\platform-tools\systrace\systrace.py", line 49, in
C:\Users\username>python systrace.py --time=5 -o mynewtrace.html gfx python: can't open file 'systrace.py': [Errno 2] No such file or directory
Another user faces same issue https://stackoverflow.com/q/50249481/2700586
Any Update on this?
I've also faced this issue windows 10 C:/Users/my-username/AppData/Local/Android/sdk/platform-tools/systrace/systrace.py --time=10 -o trace.html sched gfx view -a com.my-app
Unable to use the systrace feature itself!
The systrace works on Mac with python version Python 2.7.10
. Which version are you using?
I have the same issue, it seems it somehow related to phone we are testing. Since it worked on Emulator (which allows to log only disk traces). But I tried with various actual phones and faced the same failure @Manikkumar1988 reported.
I have same issue too
Try upgrade you SDK platform-tool version, useful for me