Note that there are some explanatory texts on larger screens.

plurals
  1. POPhonegap - Upgrade to 3.0 with Eclipse?
    primarykey
    data
    text
    <p>I am trying to upgrade my Android Phonegap app to 3.0 and am following the official guides. I am working on Windows. </p> <p>I have ran the command to create the base folder. I copied all my www content over as well as updated the config.xml and placed all of my icons and splash screen images in the proper folders. </p> <p>I then ran the android build command through the CLI and the platform file tree for android was populated. However, all of the files in the android tree are the demo "hello world" files. I thought the build command was suppose to build off of the root www folder? From what I have read the platform tree files are overwritten when you run the build command again once you update your root files? Am I suppose to erase all of the android helloworld files?</p> <p>I don't have any platform dependent .js files, it would just be the plugins. Also, the test helloworld app links the phonegap.js file to the root js/phonegap.js but there is no such file, the file is found in the platform www folder. So the link is incorrect. </p> <p>Also, I am not able to get this type of file tree to work with Eclipse. Is it even possible to use Eclipse with the new 3.0 file structure? Trying to build anything using Ant is a nightmare. </p> <p>Could someone provide some guidance for this type of upgrade? The documentation is very short. </p> <p>Thanks. </p> <p>EDIT:</p> <p>Maybe some more specific questions. </p> <p>-From what I understand when I edit my app I edit the root www folder, not the android sub www folder correct? </p> <p>-If this is correct then do I have to run "Phonegap build" every time I edit the www root folder so then it will hopefully update my android www folder? </p> <p>I erased all of the helloworld data from the android www folder and replaced the data with my root www data. I then modified the root www data and ran the build command for android. </p> <p>After running the build command for the android platform from the root www folder there was no change to the android www folder. </p> <p>-Why have a root folder with the www data if I have to manually update the www folder for the android build? So every time I make a change to the root folder I now have to change the android www folder as well.</p> <p>-Why even have a root www folder if I have to manually change everything in the android www folder?</p> <p>-Everything from the www root folder has to be in the android www folder or I can't run Eclipse to test the app. </p> <p>-It seems like I am maintaining two copies of the exact same work for no reason. </p> <p>I am obviously doing something wrong with how I am maintaining my code base?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload