How can I run systrace
to show its html output? After watching the Google I/O 2012 talk "For Butter or Worse" I am having trouble getting systrace
to work on Windows 7 using the emulator running Jelly Bean 4.1.
I did the following:
- Installed Python 2.7, and added the install folder to my PATH
- Ran the following:
C:\android-sdk\platform-tools\systrace>python systrace.py
(with older SDKs:C:\android-sdk\tools\systrace>python systrace.py
)
But I get the following error in cmd:
Traceback (most recent call last):
File "systrace.py", line 212, in <module>
main()
File "systrace.py", line 124, in main
ready = select.select([adb.stdout, adb.stderr], [], [adb.stdout, adb.stderr])
select.error: (10093, 'Either the application has not called WSAStartup, or WSAStartup failed')
Note:
- I have enabled traces in the emulator:
Settings > Developer Options > Enable traces
- I have also tried with Python 3.2