Make sure that the “result_file” location is writable by the Chrome process on Android (e.g. “/sdcard/Download/trace.json”). To ensure Chrome has permissions to write to /sdcard, run the following, replacing “org.chromium.chrome” with the Chrome package you are tracing: