systrace.py error : in _execute_child raise child_exception
来源:互联网 发布:手机去除马赛克软件 编辑:程序博客网 时间:2024/05/22 06:19
$ cd android-sdk/platform-tools/systrace$ python systrace.py --time=10 -o mynewtrace.html sched gfx view wmTraceback (most recent call last):File "./systrace.py", line 212, in <module>main()File "./systrace.py", line 121, in mainstderr=subprocess.PIPE)File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__errread, errwrite)File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1249, in _execute_childraise child_exceptionOSError: [Errno 2] No such file or directory
Solution:
it looks like the script assumes adb is in your path. add the platform-tools sdk dir to your path and it should work.
http://stackoverflow.com/questions/11823007/systrace-android-no-such-file-or-directory
0 0
- systrace.py error : in _execute_child raise child_exception
- centos install scipy 问题:File "scipy/linalg/setup.py", line 20, in configuration raise NotFoundE
- T-SQL Tips: How to raise error in user defined function
- raise error mysql引发异常
- Systrace
- py in
- Windows下flask发送邮件完美解决in create_connection raise err error: [Errno 10061]等错误问题
- raise()
- raise()
- setup.py install running install error: can't create or remove files in install directory
- Py第十八问Unknown SSL protocol error in connection to github.com:443
- Py第二十问 How to fix “ImportError: No module named …” error in Python?
- command "python setup.py egg_info" failed with error code 1 in ...
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-o2julgbe/xgboost/
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-b2PICB/unroll/
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-GVQWxt/ipython/
- Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/q4/br030ycd5wj57
- Command "python setup.py egg_info" failed with error code 1 in ...
- Java程序员的笔试题10道
- connectionStrings节的配置方法
- shell编程函数运用
- find命令详解
- Archiving Audit Diagrams as Images in Oracle SOA Suite BPM Processes2
- systrace.py error : in _execute_child raise child_exception
- 多线程的概念
- Arcgis10安装破解注意事项
- Android 多张图片形成动画
- Linux内存管理
- ul li设置横排,并除去li前的圆点
- 每日一个知识点6 2014/6/4
- 静态链接库与动态链接库
- 《深入理解Java虚拟机》笔记