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:
Deb
make sure that Debug class you imported is this one : android.os.Debug
android.os.Debug
or do this :
android.os.Debug.startMethodTracing("xxx"); android.os.Debug.stopMethodTracing();