I want to profile my ui - it crashes on stackoverflow for the onDraw method
I was told because I have too many layers
I wanted to dump the view hierarchy to see how deep my layers
but when I try to load a hierarchical view, I get this error:
Error obtaining UI hierarchy Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!
How to fix it?
android hierarchy
Lena Bru
source share