Please help me with the problems I’ve been experiencing during the last weeks using the Phonegap build.
• The first error happens when selecting the plugins cordova-plugin-file and the cordova-plugin-file-transfer. Phonegap throws me the following error:
Error - Plugin error (you probably need to remove plugin files from your app): Fetching plugin "[email protected]" via npm Installing "cordova-plugin-file-transfer" at "1.5.1" for android Failed to install 'cordova-plugin-file-transfer': CordovaError: Version of installed plugin: "[email protected]" does not satisfy dependency plugin requirement "cordova-plugin-file@^4.0.0". Try --force to use installed plugin as dependency. at /home/ec2-user/.npm/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/install.js:581:33 at _fulfilled (/home/ec2-user/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/home/ec2-user/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/home/ec2-user/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:749:13) at /home/ec2-user/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:509:49 at flush (/home/ec2-user/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:108:17) at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9) Version of installed plugin: "[email protected]" does not satisfy dependency plugin requirement "cordova-plugin-file@^4.0.0". Try --force to use installed plugin as dependency.
• The second error happens when selecting the plugin cordova-plugin-device. Phonegap throws the following error:
Error - Plugin (or a specific plugin version) not found in external repo: [email protected]": Fetching plugin "[email protected]" via npm Failed to fetch plugin cordova-plugin-device
• The third error happens when trying to use the barcode scanner in an app that was already succesfully build with the plugin phonegap-plugin-barcodescanner. See the first first capture attached to the email
• The fourth error happens when trying to upload to Phonegap build using the cordova-media-with-compression plugin.
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: AudioHandler.java
Using the CLI 6.5.0 Phonegap version, Alpha Anywhere v4.4.5, vesion 12-4-4-5, build 4491 and system addins build 4932.
This problem happens when using your own sample apps as well as our own prototypes. However when testing with AlphaLaunch it all works OK as it should, without errors.
• The first error happens when selecting the plugins cordova-plugin-file and the cordova-plugin-file-transfer. Phonegap throws me the following error:
Error - Plugin error (you probably need to remove plugin files from your app): Fetching plugin "[email protected]" via npm Installing "cordova-plugin-file-transfer" at "1.5.1" for android Failed to install 'cordova-plugin-file-transfer': CordovaError: Version of installed plugin: "[email protected]" does not satisfy dependency plugin requirement "cordova-plugin-file@^4.0.0". Try --force to use installed plugin as dependency. at /home/ec2-user/.npm/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/install.js:581:33 at _fulfilled (/home/ec2-user/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/home/ec2-user/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/home/ec2-user/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:749:13) at /home/ec2-user/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:509:49 at flush (/home/ec2-user/.npm/lib/node_modules/pgb-plugman/node_modules/q/q.js:108:17) at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9) Version of installed plugin: "[email protected]" does not satisfy dependency plugin requirement "cordova-plugin-file@^4.0.0". Try --force to use installed plugin as dependency.
• The second error happens when selecting the plugin cordova-plugin-device. Phonegap throws the following error:
Error - Plugin (or a specific plugin version) not found in external repo: [email protected]": Fetching plugin "[email protected]" via npm Failed to fetch plugin cordova-plugin-device
• The third error happens when trying to use the barcode scanner in an app that was already succesfully build with the plugin phonegap-plugin-barcodescanner. See the first first capture attached to the email
• The fourth error happens when trying to upload to Phonegap build using the cordova-media-with-compression plugin.
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: AudioHandler.java
Using the CLI 6.5.0 Phonegap version, Alpha Anywhere v4.4.5, vesion 12-4-4-5, build 4491 and system addins build 4932.
This problem happens when using your own sample apps as well as our own prototypes. However when testing with AlphaLaunch it all works OK as it should, without errors.
Comment