App Homepage 404's in Cordova


#1

When trying to use my app in cordova the initial route is throwing a 404 page. It’s really hard to track down what is causing this. Does anyone have any ideas?

{
   route: [''],
   name: 'homepage',
   moduleId: PLATFORM.moduleName('application/homepage/homepage', 'homepage'),
   title: 'some title',
   appPage: false,
 },

#2

check your config.xml to see if it’s pointing to the right html file, also check if you have your files built into platforms/android/app/src/main/assets folder. It looks like Cordova couldn’t find the entry html file for me.


#3

@bigopon That’s not the problem. The apps 404 page loads, which means for some reason it is hitting the index.html but not loading the homepage url on load. Any more ideas?