Android Systrace No such file or directory

穿精又带淫゛_ 提交于 2019-12-05 10:01:24

This was fixed in SDK tools release 22.0.5... sort of.

The systrace-legacy.py script was added to the platform-tools directory rather than the tools directory, because the script is (gradually) being moved there. So if you continue to follow the old instructions, you will still have the same problem. If you run the script from the platform-tools/systrace directory instead, it should now work.

You can also run it from the Eclipse ADT plugin.

I think is some issue in AOSP You can check this file there: https://android.googlesource.com/platform/external/chromium-trace/+/664f21bcaf14044e5e9b09cb7beb8724d18fb851

you can download from AOSP repository:

git clone https://android.googlesource.com/platform/external/chromium-trace
cd chromium-trace
git checkout 2384642
ls systrace-legacy.py

copy this file to sdk and everything should work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!