Error using cameragap Phonegap Builder

0

I'm trying to generate an APK that uses Phonegap's camera access plug-in, when testing on the phonegap developer the application works as expected, access the camera, take photos, etc. When I generate the apk in the phonegap build I get this error log:

Installing "cordova-plugin-camera" at "3.0.0" for android Plugin does not support this project's cordova-android version. cordova-android: 6.1.2, failed version requirement: > = 6.3.0 Skipping 'cordova-plugin-camera' for android

I have already checked the version of the cord and I am using 6.3.0 and in my package.json file is also with 6.3.0, in addition in config.xml I also refer to android 6.3.0. Even then, the error persists:

Package.json

{ "name": "br.com.sevenball", "displayName": "simuladorsevenball", "version": "1.0.0", "description": "A sample Apache Cordova application that responds to the deviceready event.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Apache Cordova Team", "license": "Apache-2.0", "dependencies": { "cordova-android": "^6.1.2", "cordova-plugin-camera": "^3.0.0", "cordova-plugin-whitelist": "1" }, "cordova": { "plugins": { "cordova-plugin-camera": {}, "cordova-plugin-whitelist": {} }, "platforms": [ "android" ] } }

Config.xml

<engine name="android" spec="^6.3.0" /> <plugin name="cordova-plugin-camera" spec="^3.0.0" /> <plugin name="cordova-plugin-whitelist" spec="1" />

    
asked by anonymous 26.01.2018 / 18:04

0 answers