Cordova serve says 404 not found -


i'm getting started cordova.

i've created application using

cordova create androidtest 

and

cd androidtest  cordova platform add android  cordova prepare  cordova build 

and @ last,

cordova serve android 

which says

static file server running @   => http://0.0.0.0:8000/ ctrl + c shutdown 

when open it, thing is:

404 not found 

404 in cordova

why? doing wrong? did meaning of cordova serve command wrong?

i supposed see kind of "application" "rendered" in chrome, don't i?

(using 3.1.0-0.1.0 )

yes, got stung too.

the correct behaviour seems to run

cordova serve 

and can navigate to

localhost:8000/<platform>/www/index.html 

where platform 'android' in case. doesn't seem automatically route index.html more need include part of url explicitly. there's cordova bug here although couldn't find documentation on this.


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

java.util.scanner - How to read and add only numbers to array from a text file -

iphone - Three second countdown in cocos2d -