title: loadUrl() in Android Webview fails with net::ERR_CACHE_MISS
body: <p>I am working in android studio.I have used webview in main activity. When I run my project then it gives an error like... "The webpage at <a href="http://www.google.com" rel="nofollow">http://www.google.com</a> could not be loaded because: net::ERR_CACHE_MISS".
  Please see my code:
  In manifest:</p>
  
  <pre><code>&lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name=".defaultActivity"
              android:label="@string/app_name"
            &gt;
              &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
              &lt;uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/&gt;
              &lt;uses-permission android:name="android.permission.android.permission.ACCESS_NETWORK_STATE"/&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  </code></pre>
  
  <p>In Activity:</p>
  
  <pre><code>WebView _taskOrganizerView = null;
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_default);
          _taskOrganizerView =   (WebView)findViewById(R.id.wvTskOrg);
          _taskOrganizerView.getSettings().setJavaScriptEnabled(true);
          if (Build.VERSION.SDK_INT &gt;= 19) {
              _taskOrganizerView.getSettings().setCacheMode(WebSettings.LOAD_CACHE_ELSE_NETWORK);
          }
          _taskOrganizerView.loadUrl("http://www.google.com");
          _taskOrganizerView.setWebViewClient(new WebViewClient() );
      }
  </code></pre>
  
  <p>In Layout:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
      android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="@dimen/activity_vertical_margin"
      android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".defaultActivity"&gt;
  
      &lt;WebView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:id="@+id/wvTskOrg"
          android:layout_alignParentBottom="true"
          android:layout_alignParentRight="true"
          android:layout_alignParentEnd="true"
          android:layout_alignParentTop="true"
          android:layout_alignParentLeft="true"
          android:layout_alignParentStart="true" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>