bytedance / btrace

🔥🔥 btrace(AKA RheaTrace) is a high performance Android trace tool which is based on Perfetto, it support to define custom events automatically during building apk and using bhook to provider more native events like Render/Binder/IO etc.
Other
1.9k stars 268 forks source link

Pixel8 & Pixel7上抓不了trace #132

Open xuanxws opened 2 months ago

xuanxws commented 2 months ago

两台手机都是Android 14,运行命令都会报这个错误 07-05 18:44:12.790 E RheaTrace : Error: download file trace error 07-05 18:44:12.790 E RheaTrace : Tips: check your app is integrated with btrace2.0 and is running.

刚跑命令的时候会弹一个toast:Unfortunately,start trace failed! 同一个包在其他手机上是可以抓trace的,是不是兼容Android 14有问题呢🤨

运行命令:java -jar rhea-trace-processor-2.0.0.jar -a com.xxx -t 7 -o output4.pb rhea.all sched -fullClassName

WangFeng-AHU commented 1 month ago

部分 google pixel 手机确实存在一些兼容性问题,暂时建议换其他设备尝试