Phonegap Build Error


#1

I have an NSB app that I have been supporting for many years. It has been a while but I decided to “make native app with phonegap build” in android. I get the following error

An error occurred while communicating with the PhoneGap server 400 Client Error: Bad Request got URL: https://build.phonegap.com/api/v1/apps?access_token=ca0d44b9dcd5dbed6f0b4bbe79

{'error":'PhoneGap 3.3.0 not supported"}

As a sanity check I tried phonegapping a simple example program and it works fine


#2

Phonegap 3.0 has been dead for a long time. If you submitted an older app you need to update to one of the later builds with your config.xml looking something like this:


<preference name="phonegap-version" value="cli-8.0.0" />

<preference name="pgb-builder-version" value="2" />

If you don’t specify a CLI version you get what phonegap gives you (usually the latest they have).

The reason you specify a CLI version is that some plugins are incompatible with earlier or later CLI’s.


Virus-free. www.avast.com


#3

Thanks! There were 2 config.xml files in my project so once I cleaned them all out, and set back to default it worked. Appreciate the support