title: WebView does not work with local HTML files
body: <p>I am trying to use WebView to show a local HTML file containing a table. However, when I use the WebView to check websites online it works perfectly, the problem is when i try to use the local HTML file.</p>
  
  <p>This is the webView part of the code: <br/></p>
  
  <pre><code>WebView myWebView = (WebView) v.findViewById(R.id.webview);
  myWebView.loadUrl("file:///asset/table.html");
  </code></pre>
  
  <p>I have used an online host to test the HTML file with this and it worked perfectly:<br/><br/>
  <code>myWebView.loadUrl("http://ahmad92billectric.host56.com//home.html");</code></p>
  
  <p>the HTIML file is in app\src\main\asset, I tried calling it using the following ways: <br/></p>
  
  <pre><code>myWebView.loadUrl("file:///andriod_asset/table.html");
  myWebView.loadUrl("file:///app/src/main/assets/table.html");
  myWebView.loadUrl("file:///android_assets/table.html"); //this one is assets with an s at the end
  </code></pre>
  
  <p>I looked up many questions here non of the answers worked for me:<br/>
  <a href="https://stackoverflow.com/questions/4027701/loading-existing-html-file-with-android-webview">Loading existing .html file with android WebView</a> <br/>
  <a href="https://stackoverflow.com/questions/11961975/what-does-file-android-assets-www-index-html-mean">What does file:///android_assets/www/index.html mean?</a> <br/>
  <a href="https://stackoverflow.com/questions/19857225/android-webview-loadurlfile-android-asset-index-htmlhome-failed">Android webview loadurl(&quot;file:///android_asset/index.html#home&quot;) failed</a> <br/>
  <a href="https://stackoverflow.com/questions/26119900/android-studio-assets-not-loading-local-html-file">Android Studio Assets not loading Local HTML File</a> <br/>
  I have checked many other questions with no fruitful results. I am using android studio 0.8.14</p>