Android - Can't use traceview
问题 I am trying to use traceview to run some profiling against an Android application. I have wrapped the code that I want to trace with the following lines: Debug.startMethodTracing("xxx"); // code Debug.stopMethodTracing(); It successfully generated a trace file, that I pulled from sdcard using the following command line: ./adb pull /sdcard/xxx.trace However when running traceview like this: ./traceview /.../xxx.trace I am getting the following error message: Usage: java com.android.traceview