I want to profile my ui - it falls on stackoverflow for the onDraw method
I've been told its because my ui has too many layers
I wanted to do a view hierarchy dump to see how deep my layers are
but when i try to load the hierarchyviewer 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 do i fix it?