title: net::ERR_FILE_NOT_FOUND file:///android_asset/www/index.html was not found
body: <p>I have a cordova app (that i'm building for Android) that I have signed using the keytools on the command line and installed this onto my Android device.</p>
  
  <p>Whenever I open the app on my phone I get the following error:</p>
  
  <pre><code>Application Error
  net::ERR_FILE_NOT_FOUND (file:///android_asset/www/index.html)
  </code></pre>
  
  <p>My phone has an internet connection so there is an active mobile internet connection - can anyone help in debugging the problem?</p>
  
  <p>I have come across a number of fixes that relate to moving remote assets however I cannot see in my app where I have any links to a remote URL.</p>
  
  <p>Is there a way I can do a 'stack-trace' to allow me to pin-point the exact point this Application Error is being thrown within my app?</p>
  
  <p><strong>Any</strong> tips at all would be appreciated</p>
  
  <p>-- update -- 
  Here is the adb log that is generated when in the emulator</p>
  
  <p>For anyone else that this may help I used the following to output the emulator log to a file:- (the double >> is needed to append data to the file)</p>
  
  <pre><code>adb -e logcat &gt;&gt; emulator.log
  </code></pre>
  
  <p><a href="https://gist.github.com/anonymous/e53abb7eb089950ac4e5" rel="noreferrer">https://gist.github.com/anonymous/e53abb7eb089950ac4e5</a></p>
  
  <p>-- update --
  My AndroidManifest.xml file looks like the following:</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
  &lt;manifest android:hardwareAccelerated="true" android:versionCode="1" android:versionName="0.0.1" package="com.myapp" xmlns:android="http://schemas.android.com/apk/res/android"&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;application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name" android:supportsRtl="true"&gt;
      &lt;activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" 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;uses-sdk android:minSdkVersion="10" android:targetSdkVersion="21" /&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>-- update --
  Within my platforms 'android' folder is a 'assets' folder - this has the following structure:</p>
  
  <pre><code>www/
  _where-is-www.txt
    www/css
    www/img
    www/js
    www/res
    www/app.html
    www/cordova.js
    www/cordova_plugins.js
    www/index.php
  </code></pre>
  
  <p>There doesn't appear to be an index.html - even though the cordova setup states an index.html file... I cannot understand why it would be doing this.</p>
  
  <p><strong>NOTE</strong> :
  I am creating a cordova app, adding a Android platform, then copying my existing www folder from another directory of the existing app (that has been developed and released to the Play store so works ok) - then finally doing the build. Not sure why index.html should be showing... any ideas??</p>