androidandroid-traceview

Directory of Debug.startMethodTracing() trace file


I'm trying to execute an app and calculate the startup time using the Debug.startMethodTracing() but I can't find the trace file. I've already added the <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>. The problem is that I don't have an sd card so I don't know where android studio saves my file.

Any advice is much appreciated.

Thanks in advance, Equinox


Solution

  • I solved my problem. In the case your smartphone doesn't have an sdcard you should go to /storage/emulated/legacy (or similar path). There it is your trace file.