Philip Kirkbride
Philip Kirkbride

Reputation: 22889

PhoneGap Doesn't see assets/www/index.html

I'm using the DreamWeaver CS6 PhoneGap extension to build an app.

It works fine if I put the index in the base of the site e.g.

Main Folder
  -index.html

But When I use an assets/www file structure like I have seen many times around the web it doesn't work. It just generates a default index.html in the Main Folder. Current file structure is as follows...

Main Folder
  -assets
    -www
      -index.html
  -res
  -src

When I click on Rebuild Application with the updated structure I get the following message.

enter image description here

Zipped Project Files


Edit: FOR ANYONE HAVING PROBLEMS WITH DW CS6. I HAD MANY PROBLEMS CAUSED BY THE FILE NOT BEING UPDATED WHEN REBUILD. I HAD TO DELETE THE PROJECT ON PHONEGAP.COM RESTART DW AND REBUILD NEW.

Upvotes: 0

Views: 1309

Answers (1)

dda
dda

Reputation: 6213

I've never tried to do anything Phonegap-related in DW, and I do everything in the Terminal and BBEdit, so my mileage and yours may vary... But. The image below is the correct structure for an Android/Phonegap app. (Ignore bin: that and gen are generated by ant while building the app.) Have you tried going the command line, at least for building? There's a nice little tutorial.

Android Folder structure

Upvotes: 2

Related Questions