i try convert dump android device monitor eclipse memory analyzer format. use next command
hprof-conv dump.hprof converted-dump.hprof and error
hprof-conv: command not found i in /platform-tools folder. when run same command on computer works fine.what problem?
to run binary current directory need prepend ./ name of binary or use full qualified path binary. e.g. if in platform-tools can run
./hprof-conv /path/to/dump.hprof /path/to/converted-dump.hprof if in directory dump.hprof stored need
/path/to/platform-tools/hprof-conv dump.hprof converted-dump.hprof or add tools , platform-tools $path. so, edit .bashrc. e.g.
vim .bashrc export path=${path}:~/path/to/sdk/tools export path=${path}:~/path/to/sdk/platform-tools save it, , run source /etc/profile, , should able run every binary in tools , platform-tools without path or ./
Comments
Post a Comment