title: Phonegap Cordova Ajax requests 404 (Not Found) Error
body: <p>My cordova version is <strong>5.0.0</strong></p>
  
  <p>I am getting a 404 error for the all ajax request made when the app is deployed on the device. On the web browser, it works fine but same app when deployed on a device does not work.</p>
  
  <p>I tried adding following to solve the issue but it hasn't helped.</p>
  
  <p><strong>Config.xml</strong></p>
  
  <pre><code>&lt;access origin="*" /&gt;
  </code></pre>
  
  <p><strong>AndriodManiest.xml</strong></p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
  </code></pre>
  
  <p>I also added following in my index.html file but it didn't make any difference either.</p>
  
  <pre><code>&lt;script&gt;
      $.support.cors=true;
  &lt;/script&gt;
  </code></pre>
  
  <p>Anyone here has another trick to solve this issue?, Seems to be a quite common issue with phonegap but the fixes above worked in older vesion of the phonegap/cordova but non of them has worked in my case.</p>
  
  <p>Any help would be great.</p>