Thanks for you rely firstly.
I want to use Performance Advisor to a non-debuggable application (assuming it is com.tencent.tmgp.sgame) on a user build android phone. Steps as follow
1. adb root
2. enable ro.debuggable, which makes Graphic Analyze works, I have tested.
3. modify lwi_me.python to hard code the variable package to com.tencent.tmgp.sgame, and replace run-as command to the corresponding plain command, lastly rename the file to lwi_hou.py. details shown in the following figure
The on-device meerkat directory is only needed if you want to collect slow-frame screenshots, and it looks like you have --lwi-mode set to "n", which won't collect them.
Folder meerkat was generated when I used command "python lwi_hou.py --package com.tencent.tmgp.sgame --lwi-fps-threshold 50 --lwi-mode tag", and it has 2 files: "meerkat.conf" and "slow_frames". when I run command pa as the figure shown, it give error " Cannot find any frames. Please refer to the user guide for methods of providing frame data to Performance Advisor.", and not report was generated.
That error means that frame boundaries were not detected in Streamline data. These come from tool layer driver that is loaded. The data directory is not relevant to this error.
Is there any indication in logcat that the layer was actually loaded correctly? Please can you share the full logcat capture?
Kind regards, Pete