Skip to content Skip to sidebar Skip to footer

Hello World On Phonegap Build

I am trying to do Hello World (for Android only) at https://build.phonegap.com/apps/. I created a directory. Named it www. Added the following index.html. Zipped it. Then uploaded

Solution 1:

Try updating phonegap or any related programmes because one seems to be outdated. If your using any plugins like adding in your app try to see if their the latest version as well.

Solution 2:

Delete and restart instead of update code

My solution was to delete my existing app (instead of "update code"). Apparently, there was some "caching" of prior code that didn't get overwritten so I had to completely wipe the old .zip file and start over with a new one.

Then it worked.

Plugins are pulled in config.xml

After a little more tinkering, I might be starting to understand what's happening. I just downloaded the phonegap-start app from github.com/phonegap/phonegap-start and the same problem resurfaced. I think the problem is caused by the plugin source files referenced in the config.xml file. And I think these references were not deleted when I selected "update code" instead of deleting the old app and starting over. The relevant section of the config.xml file is below.

config.xml snippet
<!-- Core plugins --><gap:pluginname="org.apache.cordova.battery-status" /><gap:pluginname="org.apache.cordova.camera" /><gap:pluginname="org.apache.cordova.media-capture" /><gap:pluginname="org.apache.cordova.console" /><gap:pluginname="org.apache.cordova.contacts" /><gap:pluginname="org.apache.cordova.device" /><gap:pluginname="org.apache.cordova.device-motion" /><gap:pluginname="org.apache.cordova.device-orientation" /><gap:pluginname="org.apache.cordova.dialogs" /><gap:pluginname="org.apache.cordova.file" /><gap:pluginname="org.apache.cordova.file-transfer" /><gap:pluginname="org.apache.cordova.geolocation" /><gap:pluginname="org.apache.cordova.globalization" /><gap:pluginname="org.apache.cordova.inappbrowser" /><gap:pluginname="org.apache.cordova.media" /><gap:pluginname="org.apache.cordova.network-information" /><gap:pluginname="org.apache.cordova.splashscreen" /><gap:pluginname="org.apache.cordova.vibration" />

Solution 3:

Solution 4:

Post a Comment for "Hello World On Phonegap Build"