Trying to use Hierarchy Viewer on off the shelf android device and its not showing up any tree.
Please checkout this :
Just copy the ViewServer.java into your project.
once you are done with that , check this sample activity
Debugging Webviews using chrome developer tools
Since the android webviews are chromium based , you can actually debug webviews using moresophisticated chrome developer tools.
- looking at DOM
- finding more about network requests and errors
- even the console logging is available
- https://www.youtube.com/watch/?v=aELff9AOodQ
- https://developer.chrome.com/devtools/docs/remote-debugging
- http://developer.android.com/guide/webapps/debugging.html
Wish to debug the lifecycle of a fragment
FragmentManager.enableDebugLogging(true) should do the trick.look at this post from awesome android developer " Chiu-ki-chan "
http://blog.sqisland.com/2014/06/navigationdrawer-creates-fragment-twice.html
No comments:
Post a Comment