PhoneGap Developer App Download Error
Asked Answered
C

7

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.

Cottbus answered 20/5, 2015 at 22:38 Comment(0)
C
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.

Cottbus answered 21/5, 2015 at 17:50 Comment(3)
We have downloaded latest version of phonegap developer,but getting same error?Lombardi
You have to update everything, so that means the app on your pc, the phonegap CLI and the app on your phone. Skipping one of these will result in the error you now get.Cottbus
the solution not works for me... am using windows 10Subsistence
E
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.

Enphytotic answered 12/6, 2015 at 15:35 Comment(0)
A
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.

Autecology answered 9/10, 2015 at 8:3 Comment(0)
V
1

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

Vitamin answered 18/10, 2015 at 21:10 Comment(0)
S
1

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

Susie answered 2/9, 2016 at 5:22 Comment(0)
M
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.

Mathematician answered 21/5, 2015 at 9:9 Comment(3)
Doesn't seem to be the fix, at least for the Android App. Seems like Adobe has pushed out a broken update...Forgave
@Mathematician hai,when i tried your code in cmd prompt,it shows npm is not recognizing internal or external error Lombardi
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?Saloon
K
0

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

Kazak answered 23/2, 2016 at 20:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.