美文网首页
systrace快速启动环境配置

systrace快速启动环境配置

作者: 旭仔_2e16 | 来源:发表于2020-12-28 22:05 被阅读0次

    1.确保python环境已配置

    echo $HOME
    touch .bash_profile
    open -e .bash_profile
    

    在打开的bash_profile文件中输入
    export systrace=/Users/xxx/Library/Android/sdk/platform-tools/systrace/systrace.py
    实际目录已自己的为准。
    最后中断中输入 source .bash_profiler进行保存。
    3.启动systrace
    终端中输入:python $systrace。控制台打印Starting tracing (stop with enter)表示成功。

    相关文章

      网友评论

          本文标题:systrace快速启动环境配置

          本文链接:https://www.haomeiwen.com/subject/goqxoktx.html