Reputation: 1496
I'm using the PhoneGap Developer App to instantly test my apps and since tonight the app says 'DOWNLOADING', and then a few seconds later is says 'DOWNLOAD ERROR'. After that, a popup appears saying
Unable to download archive from the server. Please upgrade the PhoneGap CLI or check your network settings.
So, how do I upgrade the PhoneGap CLI and what settings should I check? I haven't changed any network settings and the PhoneGap Developer App worked fine on my Macbook and iPhone, but now it says this.
What's the problem and how do I solve it?
EDIT I now realise that this is happening now because the PhoneGap Developer App for iOS has been updated (now version 1.5.2). I've upgraded the PhoneGap CLI to version 5.0.0-0.28.0, which is the recommended version according to this blog post from PhoneGap
Seems like there's something going wrong with the new way the Desktop and Mobile app now communicate.
Upvotes: 6
Views: 10649
Reputation: 2590
While using WiFi, Your computer & device has to be on the same network.
Upvotes: 1
Reputation: 1341
I changed the port from 3000 to something else and it worked. Probably had something else listening to it.
Upvotes: 1
Reputation: 383
You should try to run manually in a cmd window the command phonegap serve
to trigger the firewall request to open by Windows (if you are on Windows). You can also see the log. Leave the window open.
Upvotes: 1
Reputation: 356
For me starting the local server from PhoneGap CLI helped. The thing is that for some reason using the PhoneGap Desktop doesn't fire a special Windows dialog to permit some actions for the app.
Upvotes: 1
Reputation: 1496
THE SOLUTION:
Download the newest version of the PhoneGap Desktop App from the official website. So you have to update the PhoneGap Developer App for mobile, the PhoneGap CLI and download the newest PhoneGap Desktop App.
Upvotes: 2
Reputation: 331
I got the same problem and fixed it updating the phonegap.
Update your phonegap npm update -g phonegap
or sudo npm update -g phonegap
if root is required.
Also update your Phonegap CLI in your mobile.
Upvotes: 0