title: Apache Cordova: Failed to load resource: the server responded with a status of 404 (Not Found)
body: <p>When I run my application either in the Android emulator or on my Android device, I get he following error on all AJAX requests:</p>
  
  <pre><code>Failed to load resource: the server responded with a status of 404 (Not Found)
  </code></pre>
  
  <p>I have tried all the following steps to solve this problem, but it persists.</p>
  
  <ul>
  <li>Installed the whitelist plugin to the project using npm.</li>
  <li>Added <code>&lt;plugin name="cordova-plugin-whitelist" version="1" /&gt;</code> to
  config.xml.</li>
  <li>Added <code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;</code>
  to platforms\android\AndroidManifest.xml.</li>
  <li>Added <code>&lt;meta http-equiv="Content-Security-Policy" content="default-src * 'unsafe-inline';"&gt;</code> and <code>&lt;meta http-equiv="X-XSS-Protection" content="0"&gt;</code> to the <code>&lt;head&gt;</code> of www/index.html file.</li>
  <li>Added <code>&lt;access origin="*" /&gt;</code>, <code>&lt;allow-navigation href="*" /&gt;</code> and
  <code>&lt;allow-intent href="*" /&gt;</code> to the config.xml file.</li>
  </ul>
  
  <p>Regardless I still get the same errors. Any ideas?</p>
  
  <p>The project compiles fine. I'm on Windows 7, using Cordova 5.4.0, Android 5.1.1</p>