phonegap-cli is the Command Line Interface for Phonegap. It is an open-source, cross-device mobile development platform. It uses HTML, JavaScript, and CSS to create applications. Functionality is achieved through plugins. It is synonymous with Cordova.
Questions tagged [phonegap-cli]
233 questions
0
votes
1 answer
cordova ios build fails with phonegap
i build an app using phonegap and trying to do a build as follows
Cordova ios build
it ends up with
VSKUMAR-mac:ios vskumar$ cordova build ios
Error: Source path does not exist: icon.png
my config.xml has an entry like

Vik
- 8,721
- 27
- 83
- 168
0
votes
2 answers
phonegap platform add ios - "Unexpected token =>" error
I have a Phonegap app and need to build it in a Mac. Everything works in a machine and I'm trying to configure a new one, but on this, when I run phonegap platform add ios I receive the following error:
$ phonegap platform add…

June
- 592
- 8
- 18
0
votes
1 answer
Signing an APK in Phonegap CLI
I am remaking one of my apps as a new Phonegap project, and I am having trouble getting it to sign the APK.
In the old project, I added release-signing.properties with this info, and when I run phonegap build --release --verbose I get a prompt…

Malik Drako
- 577
- 1
- 8
- 19
0
votes
1 answer
Phonegap | converting imageuri to base64 | getting black image after uploading it to server using jquery
I want a valid string of base64 from imageuri. I have use below code for this but it's getting black image after uploading it to the server.
function encodeImageUri(imageUri)
{
var c=document.createElement('canvas');
var…

Pankaj Bhandarkar
- 496
- 3
- 20
0
votes
1 answer
Update text every minute cordova plugin local notifications
I try to update text every minute with cordova-plugin-local-notifications in phonescheduleMinutely = function () {
var sound = device.platform == 'Android' ? 'file://ting.wav' : 'file://beep.caf';
…

Lucy Vo
- 5
- 1
- 4
0
votes
1 answer
I am getting an error while creating a Project of Phonegap through Node.js in my mac
I Installed Node Js and Git on my Mac. Through Node JS i am downloading the phonegap and than creating its project on my desktop. Heres what i am getting in return, could somebody tell me what am doing wrong?
Aleems-MacBook-Pro:desktop aleemahmad$…

Ikonic Solution
- 21
- 8
0
votes
1 answer
Add file to /res/values?
Is it possible to specify a file to be added to the Android /res/values folder?
I am trying to add a custom theme to change the appearance of the native input pickers, such as . I found the cordova-custom-config plugin that lets…

Malik Drako
- 577
- 1
- 8
- 19
0
votes
1 answer
Point domain to Phonegap port
Currently i've successfully pointed my website to my web-server on one subdomain. However; currently its being pointed to port 80 by default.
ServerAdmin webmaster@localhost
ServerName coreapp.site.me
…

Oliver Kucharzewski
- 2,523
- 4
- 27
- 51
0
votes
1 answer
Error: spawn EACCES phonegap emulate on linux
Encountering error while trying to emulate an android application using phonegap.
I have built the project but while running phonegap emulate I get an error which is
`Error: spawn EACCES
at exports._errnoException (util.js:1028:11)
at…

Adarsh Bhalotia
- 3
- 3
0
votes
1 answer
Can't build cordova phonegap project android
I'm new to building apps in cordova/phonegap.
Now today I tried to build my app for android but it failed to compile.
I really don't know what I'm doing wrong.
It runs fine on browser and the phonegap app on my mobile phone.
Phonegap version 0.4.3 /…

Xaiamedia
- 119
- 1
- 3
0
votes
1 answer
how to avoid black screen in phonegap
how to remove black screen and title in phone-gap app.when i enter into the app i'm getting black screen and project title before i get splash screen.please help how to avoid that.

sriram
- 11
- 3
0
votes
1 answer
CMD acting weird. NOT DETECTING ANDROID_HOME Even If it is set
This is something weird,
first I set ANDROID_HOME in environment variable, and phonegap CLI was working properly, after that I installed android studio. It asked me to avoid ANDROID HOME path with spaces(I had space in path like: D:\Backup…

PhpCoder
- 427
- 6
- 20
0
votes
0 answers
Can I use the jquery templating with phonegap
In my phonegap project, I wanna use the jquery template, I tried an example :
This is my page:
...