Open livelitoday opened 8 months ago
麻烦加上 -debug 参数再试一下,提供更详细的 debug 日志我们更好排查一点。
03-14 10:08:07.158 RheaTrace : MaxAppTraceBufferSize usage 7583248/500000000 (1%)
03-14 10:08:07.760 E RheaTrace : Error: systrace file not found: rheatrace.workspace\systemTrace.trace
03-14 10:08:07.760 E RheaTrace : Tips: your device may not support perfetto. please retry with -mode simple
.
com.bytedance.rheatrace.processor.core.TraceError: systrace file not found: rheatrace.workspace\systemTrace.trace
at com.bytedance.rheatrace.processor.perfetto.TraceProcessor.
Android设备情况:Android SDK33 系统: MIUI: 14.0.8 红米K40
使用的命令:
输出结果:
另外!!!使用perfetto命令行,能获取到trace文件并从Perfetto网站打开查看!!使用的命令如下:
用户权限:可获取到root权限的设备。
版本:
rhea_gradle_plugin_vesion=2.0.1 implementation 'com.bytedance.btrace:rhea-core:2.0.0' apk是release版本,是通过反射调用android.os.Trace#setTracingEnabled(true)拿到自定义tag。