SO I followed this blog post from here, in order to gegt my app on the latest cordova version and to try out crosswalk:
http://phonegap.com/blog/2015/06/16/p...
and I get this error when i go to build:
Error - Some official plugins have to be updated if using PhoneGap >= 4.0.0. Please upgrade the version of any plugins that may include the following file: FileTransfer.java - You can fix this here
My App ID is: 1536482
http://phonegap.com/blog/2015/06/16/p...
and I get this error when i go to build:
Error - Some official plugins have to be updated if using PhoneGap >= 4.0.0. Please upgrade the version of any plugins that may include the following file: FileTransfer.java - You can fix this here
My App ID is: 1536482
- 23 Posts
- 1 Reply Like
Posted 5 years ago
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Well, did you replace all plugins by their latest npm-version?
And have you had a look at http://community.phonegap.com/nitobi/...
And have you had a look at http://community.phonegap.com/nitobi/...
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@searayman,
You should also read:
Top Mistakes by Developers new to Cordova/Phonegap
https://github.com/jessemonroy650/top-phonegap-mistakes/blob/master/new-to-Phonegap.md
Read #1, #6, #7, & #10
Jesse
You should also read:
Top Mistakes by Developers new to Cordova/Phonegap
https://github.com/jessemonroy650/top-phonegap-mistakes/blob/master/new-to-Phonegap.md
Read #1, #6, #7, & #10
Jesse
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
About #6, which says "With the CLI version, if you do not assign a version for your platform OR in ''Phonegap Build'' if you do not set the phonegap-version in config.xml, YOU WILL GET THE LATEST VERSION. ":
This is not correct. You will get the default version, as set by the PGB devs. Currently, that's 3.7.0, although cli-5.1.1 is officially the latest version, and cli-5.2.0 unofficially already availale.
This is not correct. You will get the default version, as set by the PGB devs. Currently, that's 3.7.0, although cli-5.1.1 is officially the latest version, and cli-5.2.0 unofficially already availale.
- 53 Posts
- 0 Reply Likes
I updated the plugin based on the link and the suggestion and got: plugin unsupported: org.apache.cordova.inappbrowser @ 1.0.1
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Well, did you replace all plugins by their latest npm-version?
So, you didn't.
Use the latest inappbrowser from npm. Be aware, that the open() call is different, now.
So, you didn't.
Use the latest inappbrowser from npm. Be aware, that the open() call is different, now.
- 17 Posts
- 2 Reply Likes
Hi All,
I have resolved problem
Please use below code in config.xml file
gap:plugin name="org.apache.cordova.battery-status" source="npm" />
gap:plugin name="org.apache.cordova.camera" source="npm" />
gap:plugin name="org.apache.cordova.media-capture" source="npm" />
gap:plugin name="org.apache.cordova.console" source="npm" />
gap:plugin name="org.apache.cordova.contacts" source="npm"/>
gap:plugin name="org.apache.cordova.device" source="npm"/>
gap:plugin name="org.apache.cordova.device-motion" source="npm"/>
gap:plugin name="org.apache.cordova.device-orientation" source="npm"/>
gap:plugin name="org.apache.cordova.dialogs" source="npm"/>
gap:plugin name="org.apache.cordova.file" source="npm" />
gap:plugin name="org.apache.cordova.file-transfer" source="npm"/>
gap:plugin name="org.apache.cordova.geolocation" source="npm"/>
gap:plugin name="org.apache.cordova.globalization" source="npm"/>
gap:plugin name="org.apache.cordova.inappbrowser" source="npm"/>
gap:plugin name="org.apache.cordova.media" source="npm" />
gap:plugin name="org.apache.cordova.network-information" source="npm" />
gap:plugin name="org.apache.cordova.splashscreen" source="npm"/>
gap:plugin name="org.apache.cordova.vibration" source="npm" />
(i have removed the < at the start so they display here) third party plugins like Google connect dont need it.
I have resolved problem
Please use below code in config.xml file
gap:plugin name="org.apache.cordova.battery-status" source="npm" />
gap:plugin name="org.apache.cordova.camera" source="npm" />
gap:plugin name="org.apache.cordova.media-capture" source="npm" />
gap:plugin name="org.apache.cordova.console" source="npm" />
gap:plugin name="org.apache.cordova.contacts" source="npm"/>
gap:plugin name="org.apache.cordova.device" source="npm"/>
gap:plugin name="org.apache.cordova.device-motion" source="npm"/>
gap:plugin name="org.apache.cordova.device-orientation" source="npm"/>
gap:plugin name="org.apache.cordova.dialogs" source="npm"/>
gap:plugin name="org.apache.cordova.file" source="npm" />
gap:plugin name="org.apache.cordova.file-transfer" source="npm"/>
gap:plugin name="org.apache.cordova.geolocation" source="npm"/>
gap:plugin name="org.apache.cordova.globalization" source="npm"/>
gap:plugin name="org.apache.cordova.inappbrowser" source="npm"/>
gap:plugin name="org.apache.cordova.media" source="npm" />
gap:plugin name="org.apache.cordova.network-information" source="npm" />
gap:plugin name="org.apache.cordova.splashscreen" source="npm"/>
gap:plugin name="org.apache.cordova.vibration" source="npm" />
(i have removed the < at the start so they display here) third party plugins like Google connect dont need it.
- 1 Post
- 0 Reply Likes
Hello I just created an application using:
cordova create hello com.example.hello HelloWorld
and did nothing to it just zipped it as is and uploaded it to my app on https://build.phonegap.com/
and it gave me the same error:
Error - Some official plugins have to be updated if using PhoneGap >= 4.0.0. Please upgrade the version of any plugins that may include the following file: CraftARCordovaActivity.java - You can fix this here
and when I click on the "here" it takes me to http://cordova.apache.org/plugins/
the thing is I have no plugins installed.
I also tried adding ios and android platforms but same error remains
please help
cordova create hello com.example.hello HelloWorld
and did nothing to it just zipped it as is and uploaded it to my app on https://build.phonegap.com/
and it gave me the same error:
Error - Some official plugins have to be updated if using PhoneGap >= 4.0.0. Please upgrade the version of any plugins that may include the following file: CraftARCordovaActivity.java - You can fix this here
and when I click on the "here" it takes me to http://cordova.apache.org/plugins/
the thing is I have no plugins installed.
I also tried adding ios and android platforms but same error remains
please help
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Your directory structure and config are probably both wrong.
The default HelloWorld project is intended to be a template for local builds, not for Phonegap Build.
PGB expects your index.html and config.xml in the root of your zip file.
The default HelloWorld project is intended to be a template for local builds, not for Phonegap Build.
PGB expects your index.html and config.xml in the root of your zip file.
Related Categories
-
PhoneGap Framework
- 2926 Conversations
- 61 Followers
-
PhoneGap Build
- 15111 Conversations
- 275 Followers
-
Plugins
- 1283 Conversations
- 38 Followers






