Hbuilder WebView Debug + Carefree Android Simulator

Source: Internet
Author: User

Software version:

hbuilder:9.0.2.201803061935

Getaway Android: 5.2.2

WebView is equivalent to the tab of a browser, modified in the WebView, the emulator side will refresh the effect in real time. In order to achieve debugging mobile app development effect. There are style and data requests for general debugging.

Note When debugging, when the emulator side switch WebView, the point of opening the corresponding inspect to debug.

I've done a simple app demo that requests data from a column by Mui.ajax, and this time, it's common to debug whether the sending request is normal and the requested data.

1, first, with ADB connected to our Android simulator, some times, do not need to connect through the ADB, Hbuiilder will automatically recognize

2, after success, the device is displayed in debug mode on the right side of the Hbuilder

3, connect the real machine debugging

4, there are 2 webview on the right.

5, because my index.html this webview is send request, then click Insepect, very easy to appear open, is loading .... This page, what to do? Re-connect

6, after reconnecting, you can, next in Google debugging, the Web How to debug, now how to debug, the results will be real-time in the simulator rendering

My Ajax Request:

Hbuilder WebView Debug + Carefree Android Simulator

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.