6

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.

erol_smsr
  • 1,275
  • 1
  • 17
  • 38

7 Answers7

2

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.

erol_smsr
  • 1,275
  • 1
  • 17
  • 38
1

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.

Leo Kolezhuk
  • 335
  • 3
  • 7
1

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.

1

I changed the port from 3000 to something else and it worked. Probably had something else listening to it.

Igor
  • 1,145
  • 1
  • 22
  • 33
1

While using WiFi, Your computer & device has to be on the same network.

MANnDAaR
  • 2,274
  • 7
  • 40
  • 62
0

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.

fct
  • 184
  • 2
  • 16
  • Doesn't seem to be the fix, at least for the Android App. Seems like Adobe has pushed out a broken update... – Someguy123 May 21 '15 at 15:34
  • @fct hai,when i tried your code in cmd prompt,it shows `npm is not recognizing internal or external error ` – PHP dev Jun 08 '15 at 07:40
  • mine doesn't work and i'm very sure that i have the latest version of CLI, Mobile App and Desktop App. Do you think it doesn't work because i use the mobile hotspot of my android to connect with my laptop and then host server on the laptop? – philx_x Jun 17 '15 at 13:37
0

I had to install node.js and it's working now.

Krishna Sapkota
  • 2,624
  • 2
  • 11
  • 10