How to make Android Traceview work

When I try to run traceview, I get:

'java' is not recognized as an internal or external command, operating program, or batch file. SWT folder '' does not exist. Please set ANDROID_SWT to point to the folder containing swt.jar for your gt plateau.

I can’t understand how this works. Somebody knows?

+3
source share
1 answer

If you are running Windows, before calling traceview, first run traceview.bat (in / tools) to set some environment variables, among other things.

, . , .

SD- , , , :

adb pull /sdcard/app.trace /app/traces
traceview.bat c:/path/app/traces/app.trace
+6

Source: https://habr.com/ru/post/1729294/