title: Cordova 5.3.1 Android app can't access the internet
body: <p>I am trying to get a very simple cordova application deployed on android. It is supposed to startup and then pull in a list of countries via angular $http and display them.</p>
  
  <p>For some reason it can't access the internet, to simplify the test, I've added an images tag that displays an image on the net. The image is not displaying either.</p>
  
  <p>I can't get a connection to jsconsole.com working either.</p>
  
  <p>I've tested it on a real device and an emulator. In both cases the app can't access the net but I can browse the net on the device and emulator.</p>
  
  <p>I've included the following in my config.xml</p>
  
  <pre><code>&lt;access origin="*" /&gt;
  </code></pre>
  
  <p>I've also checked the generate AndroidManifest.xml file it contains the following permissions:</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.ACCESS_WIFI_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
  </code></pre>
  
  <p>What am I missing?</p>
  
  <p>here is the full config file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0"
      id="com.domain.app" version="1.0.0"&gt;
      &lt;name&gt;app&lt;/name&gt;
  
      &lt;description&gt;
          A sample Apache Cordova application that responds to the
          deviceready
          event.
      &lt;/description&gt;
  
      &lt;author href="http://www.eclipse.org/thym" email="thym-dev@eclipse.org"&gt;
          Eclipse.org -
          Thym
      &lt;/author&gt;
  
      &lt;content src="index.html" /&gt;
  
      &lt;access origin="*" /&gt;
      &lt;preference name="fullscreen" value="true" /&gt;
      &lt;preference name="webviewbounce" value="true" /&gt;
      &lt;preference name="LogLevel" value="VERBOSE" /&gt;
  
  
      &lt;feature name="App"&gt;
          &lt;param name="android-package" value="org.apache.cordova.App" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Compass"&gt;
          &lt;param name="android-package"
              value="org.apache.cordova.deviceorientation.CompassListener" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Device Orientation"&gt;
  
      &lt;param name="id" value="cordova-plugin-device-orientation" /&gt;&lt;/feature&gt;
      &lt;feature name="Device"&gt;
          &lt;param name="android-package" value="org.apache.cordova.device.Device" /&gt;
          &lt;param name="id" value="cordova-plugin-device" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Notification"&gt;
          &lt;param name="android-package" value="org.apache.cordova.dialogs.Notification" /&gt;
  
      &lt;param name="id" value="cordova-plugin-dialogs" /&gt;&lt;/feature&gt;
      &lt;feature name="NetworkStatus"&gt;
          &lt;param name="android-package"
              value="org.apache.cordova.networkinformation.NetworkManager" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Network Information"&gt;
          &lt;param name="id" value="cordova-plugin-network-information" /&gt;
      &lt;/feature&gt;
  
      &lt;engine name="android" version="4.1.0"/&gt;
  &lt;/widget&gt;
  </code></pre>
  
  <p>Here is the manifest file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.domain.app"
      android:hardwareAccelerated="true"
      android:versionCode="100008"
      android:versionName="1.0.0" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="14"
          android:targetSdkVersion="22" /&gt;
  
      &lt;supports-screens
          android:anyDensity="true"
          android:largeScreens="true"
          android:normalScreens="true"
          android:resizeable="true"
          android:smallScreens="true"
          android:xlargeScreens="true" /&gt;
  
      &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.ACCESS_WIFI_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
  
      &lt;application
          android:hardwareAccelerated="true"
          android:icon="@drawable/icon"
          android:label="@string/app_name"
          android:supportsRtl="true" &gt;
          &lt;activity
              android:name="com.domain.app.MainActivity"
              android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
              android:label="@string/activity_name"
              android:launchMode="singleTop"
              android:theme="@android:style/Theme.Black.NoTitleBar"
              android:windowSoftInputMode="adjustResize" &gt;
              &lt;intent-filter android:label="@string/launcher_name" &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;
  &lt;/manifest&gt;
  </code></pre>