Open saurabhudaniya200 opened 8 years ago
What version of the cordova cli are your running? Can you try npm install -g cordova
?
@EddyVerbruggen currently I am using 5.1.1, I will try to update it and will let you know the findings
@EddyVerbruggen I upgraded the cordova to 6.2.0 and now everything works fine, thanks :+1:
I am trying to install the plugin but after running the command cordova plugin add cordova-plugin-customurlscheme --variable URL_SCHEME=mycoolapp
I am getting the following error
Failed to install 'cordova-plugin-customurlscheme':Error: Variable(s) missing: ANDROID_SCHEME, ANDROID_HOST, ANDROID_PATHPREFIX
Full error message below
Failed to install 'cordova-plugin-customurlscheme':Error: Variable(s) missing: ANDROID_SCHEME, ANDROID_HOST, ANDROID_PATHPREFIX at /usr/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:306:23 at _fulfilled (/usr/lib/node_modules/cordova/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/usr/lib/node_modules/cordova/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/usr/lib/node_modules/cordova/node_modules/q/q.js:749:13) at /usr/lib/node_modules/cordova/node_modules/q/q.js:557:44 at flush (/usr/lib/node_modules/cordova/node_modules/q/q.js:108:17) at process._tickCallback (node.js:415:13) Error: Variable(s) missing: ANDROID_SCHEME, ANDROID_HOST, ANDROID_PATHPREFIX at /usr/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:306:23 at _fulfilled (/usr/lib/node_modules/cordova/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/usr/lib/node_modules/cordova/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/usr/lib/node_modules/cordova/node_modules/q/q.js:749:13) at /usr/lib/node_modules/cordova/node_modules/q/q.js:557:44 at flush (/usr/lib/node_modules/cordova/node_modules/q/q.js:108:17) at process._tickCallback (node.js:415:13)