I have followed the guide for Profiling Android UI Performance
I run the following cmd: /usr/local/Cellar/android-sdk/24.4.1_1/platform-tools/systrace/systrace.py --time=10 -o trace.html shred gfx view -a com.navigation.
I am able to get a trace output. But the Js and Native Modules Threads are not available like described in the guide.
Here is an example of the generated trace.
I have tried to run the trace both with dev=false as described in the guide and with dev=true as mentioned in this answer but non is working
I'm currently using version 0.28.0. I have not tried to use systrace before in the project, so don't know if it ever worked.
Any ideas why this is not shown is much appreciated.
com.navigation app using Js and Native Modules?
If you are not using these modules in your app, it will not display in your systrace.
Please refer the following link how to add natvie module & js to app https://apimirror.com/react_native/native-modules-android
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With