Traceview doesn't work
问题 My Android SDK is installed here D:\android-sdk-windows\tools I set all environment variables to tools and platform-tools . When I type traceview to cmd, it reports. C:\Users\HIEUGIOI>D:\android-sdk-windows\tools\traceview.bat Usage: java com.android.traceview.MainWindow [-r] trace -r regression only How to fix ? Is there other ways to use traceview? 回答1: You need to supply a command-line parameter, the path to the trace log you generated from DDMS or by using Debug.startMethodTracing() . See