Ember-cordova sample app : index.html not found

Sibi John

I built a simple ember-cordova app. When i ran ember cordova emulate which it gives an apk file but when the app opens up in the emulator it says

"net::ERR_FILE_NOT_FOUND(file:///android_asset/www/index.html)". 

I have removed all references to {{rootURL}} from index.html and also remove the leading slash from rootURL. locationType is also set to hash.

Sibi John

My build was failing, that's why i was getting the file not found error. However the build was failing with a "Undefined error". I had to remove the platform using

ember cordova platform remove android

and reinstall it using

ember cordova platform add android

After doing these steps, it started working.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Custom "not found" for Cordova app

From Dev

Phonegap (NOT Cordova) 3.5 sample app not firing deviceready

From Dev

Barcode scanner not found with Sample UWP app

From Dev

Barcode scanner not found with Sample UWP app

From Dev

Cordova webview with Android Studio (file:///android_asserts/www/index.html not found)

From Dev

Cordova app cannot load any files in assets/www (only index.html)

From Dev

Layers with higher z-index gets ignored by touches on Windows Phone 8 Cordova HTML5 App

From Dev

js in html is not executing in Phoenix framework sample app

From Dev

angular-phonecat application using Node.js error 404 Not Found: /app/index.html

From Dev

Default Cordova index.html is compiling

From Dev

Default Cordova index.html is compiling

From Dev

html <select> - does it work on cordova/phonegap app?

From Dev

set video to html video tag - cordova app

From Dev

Validity of data stored in a HTML element in a Cordova app

From Dev

app engine NeedIndexError: no matching index found

From Dev

"No code signing identities found" error building cordova app for iOS device

From Dev

ember 2.0, Cordova and onDeviceReady

From Dev

Script not found index.html angular 2

From Dev

Cordova app failing to Archive with Xcode 7.1 (Cordova/CDVViewController.h file not found)

From Dev

How to pass data from cordova plugin to index.html in Android

From Dev

How to remove the index.html in cordova 3.9.2 for ios 7

From Dev

Cordova Camera and Ionic Framework - Controller and Index.html not connecting

From Dev

Angular 2 app not recognizing <app></app> in index.html

From Dev

Building HTML cordova app and running directly on physical device

From Dev

Hybrid app with remote html and local cordova.js

From Dev

Cordova iOS app display html page name as titile on alert

From Dev

Ember component not found

From Dev

No command 'ember' found

From Dev

Ember route not found

Related Related

  1. 1

    Custom "not found" for Cordova app

  2. 2

    Phonegap (NOT Cordova) 3.5 sample app not firing deviceready

  3. 3

    Barcode scanner not found with Sample UWP app

  4. 4

    Barcode scanner not found with Sample UWP app

  5. 5

    Cordova webview with Android Studio (file:///android_asserts/www/index.html not found)

  6. 6

    Cordova app cannot load any files in assets/www (only index.html)

  7. 7

    Layers with higher z-index gets ignored by touches on Windows Phone 8 Cordova HTML5 App

  8. 8

    js in html is not executing in Phoenix framework sample app

  9. 9

    angular-phonecat application using Node.js error 404 Not Found: /app/index.html

  10. 10

    Default Cordova index.html is compiling

  11. 11

    Default Cordova index.html is compiling

  12. 12

    html <select> - does it work on cordova/phonegap app?

  13. 13

    set video to html video tag - cordova app

  14. 14

    Validity of data stored in a HTML element in a Cordova app

  15. 15

    app engine NeedIndexError: no matching index found

  16. 16

    "No code signing identities found" error building cordova app for iOS device

  17. 17

    ember 2.0, Cordova and onDeviceReady

  18. 18

    Script not found index.html angular 2

  19. 19

    Cordova app failing to Archive with Xcode 7.1 (Cordova/CDVViewController.h file not found)

  20. 20

    How to pass data from cordova plugin to index.html in Android

  21. 21

    How to remove the index.html in cordova 3.9.2 for ios 7

  22. 22

    Cordova Camera and Ionic Framework - Controller and Index.html not connecting

  23. 23

    Angular 2 app not recognizing <app></app> in index.html

  24. 24

    Building HTML cordova app and running directly on physical device

  25. 25

    Hybrid app with remote html and local cordova.js

  26. 26

    Cordova iOS app display html page name as titile on alert

  27. 27

    Ember component not found

  28. 28

    No command 'ember' found

  29. 29

    Ember route not found

HotTag

Archive