使用场景: 1.)添加权限 2.)布局文件 android:id="@+id/webView" android:layout_width="match_parent" android:layout_height="match_parent" /> 3.)数据加载 加载本地资源webView.loadUrl("file:///android_asset/example.html"); 加载网络资源webView.loadUrl("www.xxx.com/index.html"); 添加请求头信息