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