我怎样才能运行systrace
,以显示其HTML输出? 看着谷歌I / O 2012的谈话后, “黄油或更糟的是”我有麻烦systrace
使用运行果冻豆4.1模拟器在Windows 7上工作。
我做了以下内容:
- 安装了Python 2.7,并添加了安装文件夹到我的PATH
- 然以下内容:
C:\android-sdk\platform-tools\systrace>python systrace.py
(与旧版SDK:C:\android-sdk\tools\systrace>python systrace.py
)
但我得到在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')
注意:
- 我已经在模拟器中启用的跟踪:
Settings > Developer Options > Enable traces
- 我也曾尝试与Python 3.2