Cordova 1.9.0 "ERROR: Start page at 'www/index.html' not found" even after folder is a reference

993 views
Skip to first unread message

Colby Meier

unread,
Jul 25, 2012, 3:39:53 PM7/25/12
to phon...@googlegroups.com
So I updated my working application from a very old version of Phonegap to Cordova 1.9.0. When I drag the file into the project explorer it shows up blue (referenced as it should be) but when I run the app I get the "ERROR: Start page at 'www/index.html' not found" error. Google and IRC chats have only brought me to the solution of 'adding it as a reference'.

My issue is that it IS referenced, but still not running the file. I've been finicking with this for days now, and still have made no progress. So if anyone can help me figure this out, I would be eternally indebted to you.

Shazron

unread,
Jul 25, 2012, 3:41:44 PM7/25/12
to phon...@googlegroups.com
Take a screenshot of your Project Navigator, with the blue "www" expanded.
> --
> -- You received this message because you are subscribed to the Google
> Groups "phonegap" group.
> To post to this group, send email to phon...@googlegroups.com
> To unsubscribe from this group, send email to
> phonegap+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/phonegap?hl=en?hl=en
>
> For more info on PhoneGap or to download the code go to www.phonegap.com
>
> To compile in the cloud, check out build.phonegap.com
>
>

Colby Meier

unread,
Jul 25, 2012, 3:44:28 PM7/25/12
to phon...@googlegroups.com

Here is the requested screenshot.

Shazron

unread,
Jul 25, 2012, 3:48:39 PM7/25/12
to phon...@googlegroups.com
That looks sound. Examine your build product -- find the .app and right click "Show Package Contents", is the "www" folder in there?
projectExplorer.tiff

Colby Meier

unread,
Jul 25, 2012, 3:53:05 PM7/25/12
to phon...@googlegroups.com
Yes, the www folder is located in my PocketHealth.app

On Jul 25, 2012, at 2:44 PM, Colby Meier wrote:

<projectExplorer.tiff>

Shazron

unread,
Jul 25, 2012, 3:56:02 PM7/25/12
to phon...@googlegroups.com
Did you run it in the Simulator? If you can, reset the simulator (iOS
Simulator -> Reset Contents and Settings...). Do a project "clean"
then deploy to Simulator.

Colby Meier

unread,
Jul 25, 2012, 3:59:07 PM7/25/12
to phon...@googlegroups.com
Same error. I get this error running on Simulator (ipad and iphone) as well as running on the actual devices themselves.

I cleaned and build/ran after clearing contents and settings, and immediately get the same error.

Kerri Shotts

unread,
Jul 25, 2012, 4:05:27 PM7/25/12
to phon...@googlegroups.com, phon...@googlegroups.com
/Looks/ right...

Can you take a look at the package generated to see if the index.html file is being copied over? If using a real device, I like to use iPhone Explorer to verify that things are really there (or not). If using the simulator, you should be able to navigate to the simulator directory (I don't remember offhand; google it) and get into the package to verify if it is there.

If it is there and the error is still occurring..., ouch? Might have to look at AppDelegate.m and MainViewController.m to see what's going on.

If it isn't there, then clean the project and try to rebuild. If it still isn't there, then maybe it would be a good idea to create a new project and see if that works?

______________________________
Kerri Shotts
photoKandy Studios LLC

šŸ“± Phone:Ā +1 (312) 380-1035
🌐 Web: http://photokandy.com 

Twitter: @photokandy


On Jul 25, 2012, at 14:44, Colby Meier <colbyme...@gmail.com> wrote:

<projectExplorer.tiff>

Colby Meier

unread,
Jul 25, 2012, 4:09:52 PM7/25/12
to phon...@googlegroups.com
I did as requested, the index.html file IS located on the device (being copied over). Ā I looked in AppDelegate.m and ManViewController.m and the expected wwwFolder and startPage lines are still there and intact.

Kerri Shotts

unread,
Jul 25, 2012, 5:04:08 PM7/25/12
to phon...@googlegroups.com, phon...@googlegroups.com
Time for desperate measures --- if you create a new project, does it work?


______________________________
Kerri Shotts
photoKandy Studios LLC

šŸ“± Phone:Ā +1 (312) 380-1035
🌐 Web: http://photokandy.com 

Twitter: @photokandy

Colby Meier

unread,
Jul 25, 2012, 5:03:26 PM7/25/12
to phon...@googlegroups.com
It does, and I've already started transferring my stuff over .. nightmare.
Reply all
Reply to author
Forward
0 new messages