Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求助. #27

Closed
kangjinwen opened this issue Apr 11, 2017 · 6 comments
Closed

求助. #27

kangjinwen opened this issue Apr 11, 2017 · 6 comments

Comments

@kangjinwen
Copy link

  1. dmtracedump 工具 加入到环境变量,怎么操作?我把graphviz已安装,环境也配置好了.
    2.Method-trace-analysis.jar 导入.trace文件,分析报异常,提示:exec dmtracedump exception
    这是因为环境里没配置dmtracedump吗?
    3.AppOutPutMethodOrder任务执行到 capturesDir.traverse 报错.
    Error:(30, 1) Execution failed for task ':AppOutPutMethodOrder'.

D:\Demo\captures

@zjw-swun
Copy link
Owner

应该是dmtracedump 没有配置到环境变量导致的,windows环境下,你找到SDK安装目录 找到platform-tools目录,然后复制这个目录地址,右键我的电脑,高级设置,环境变量,找到path,把复制的字符串加进去,就像配置java环境变量一样

@kangjinwen
Copy link
Author

kangjinwen commented Apr 12, 2017

先谢谢哈,按着操作后,jar工具,可以使用了.能成功分析.
但是在AndroidStudio中的Task还是不能成功运行.
AppOutPutMethodOrder任务执行到 capturesDir.traverse 报错.
Error:(30, 1) Execution failed for task ':AppOutPutMethodOrder'.

@zjw-swun
Copy link
Owner

是Mac系统吗 还是windows

@xingstarx
Copy link
Contributor

@kangjinwen 用./gradlew AppOutPutMethodOrder 有结果吗?

@Hinatasun
Copy link

同求,执行命令 ./gradlew AppOutPutMethodOrder时出错

@Hinatasun
Copy link

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants