WebView找不到网页,显示空白页问题解决

一、找不到网页

AndroidManifest.xml中的android:name="android.permission.INTERNET" />​权限写成大写的了

二、显示空白页

​android:layout_width="match_parent"

android:layout_height="match_parent"

android:id="@+id/web_view"

改成

​android:layout_width="match_parent"

android:layout_height="match_parent"

android:id="@+id/web_view"

android:layout_x="0.0dip"

android:layout_y="0.0dip"

android:layout_weight="1.0">

原文地址:https://www.cnblogs.com/rainhome/p/5325692.html