Genymotion how to debug with Chrome Dev Tools

主宰稳场 提交于 2019-11-29 20:09:17
Harsha Vardhan

See the official docs on enabling debugging on Android

  1. Start up your Virtual Device and, inside the virtual device, enable "USB debugging" by going to Settings > Developer Options > USB Debugging. If you get a prompt that says "always allow USB debugging", press "OK". If you don't see the option for Developer Options, first goto Settings > About Phone/Tablet, find Build Number, and tap it about 10 times. Go up one menu and find the Developer Options menu now enabled above the About menu options.

  2. Go to Chrome on your Host OS. type chrome://inspect in the url and press enter.

  3. Check the box at the top that says "Discover USB Devices". There should now be a list of virtual devices currently available to Chrome. Find the device you want to debug and click the inspect link.

  4. A new Chrome Developer Tools window should open up containing the code for the page you're currently viewing in your browser, and should show the "Emulation" tab at the bottom with information about your device specs.

If you are not able to get this working then check the following items:

  • Check port forwarding.
  • Proxy settings.
  • USB driver installation.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!