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
37
votes
8 answers
ERROR: Failed to deploy to device, no devices found -cordova using visual studio
I am developing an Apache Cordova mobile app using Visual Studio 2013. When I run my app in device mode I get the following error:
ERROR: Failed to deploy to device, no devices found
I have already enabled USB debugging in the developer options.

satyender
- 817
- 4
- 12
- 27
27
votes
2 answers
Error adding cordova platform browser, "Error loading cordova-browser"
Other platforms are working fine... but I'm having an issue getting browser platform to work at all.
If I run cordova platform add browser it creates the dir, copies all the files, and things mostly looks like it works right except the console…

Joshua Ohana
- 5,613
- 12
- 56
- 112
10
votes
3 answers
Cannot detect SDK path in WebStorm 2016.3
I am trying to create a PhoneGap application using WebStorm 2016.3 IDE.
I am following this link link. I am able to create a project from the steps but while running the app I'm getting errors. While setting emulator I've found that Android SDK was…
user7046991
9
votes
1 answer
PhoneGap/Cordova WebStorm Ubuntu - Error
I have WebStorm and Android Studio installed. I have my Android SDK and Java environment variables set. I originally had this error (https://github.com/phonegap/phonegap-cli/issues/685) and I fixed that by extracting the templates folder as…

xendi
- 2,332
- 5
- 40
- 64
7
votes
1 answer
Phonegap IOS Signing with build.json
I originally was using Phonegap build service to create my "debug" apps which requires a .p12 file and a provisioning file but now that they are almost ready for production I'm using a script combined with hooks to build my "release" apps locally…

Daniel Cuesta
- 266
- 1
- 4
- 13
7
votes
3 answers
How to Build apk with Phonegap Cli
I Build a apk with phonegap cli, but problem is when I try to install apk with android phone get a Parse Error "There is a problem parsing the package"
What I try to build apk
1)phonegap create my-app com.example.myapp my-app
2)phonegap platform…

Dinesh
- 835
- 2
- 17
- 37
6
votes
1 answer
Phonegap deviceready event only fires when app loses focus
I have installed the latest version of phonegap via npm, and have recently updated my iPhone SE to iOS 10. Now, when I run "phonegap run ios" when my device is connected via a USB cable to my iMac, the app loads, I get a debug alert from the…

b4tch
- 959
- 9
- 16
6
votes
2 answers
cordova 'NSInternalInconsistencyException', reason: 'ERROR: config.xml does not exist
I am trying to run a new hello world cordova app for ios. It keeps crashing at the splash screen.
but I keep getting the error
'NSInternalInconsistencyException', reason: 'ERROR: config.xml does not exist. Please run…

Train
- 3,420
- 2
- 29
- 59
6
votes
4 answers
PhoneGap - navigator.app.exitApp() Not Working
I'm using Phonegap to make a small application but the navigator.app.exitApp()? isn't working at all.
This is my first hybrid app.
My target platform is Android 5
I'm developing on Windows with Cordova CLI.
I call a JavaScript function with…

Thomas Fifield
- 137
- 2
- 3
- 9
5
votes
2 answers
Cordova / PhoneGap Browser Cache Size
I'm developing a Cordova app that uses the browser functionality to display an online site (ie. not the local www/ content).
Is it at all possible to control how much data is cached by the app? Heck, is it even possible to see if things are being…

Phil
- 2,008
- 1
- 17
- 23
5
votes
2 answers
Phonegap push notifications implementation
I know this type of question has been made before but my problem is, there is so many different answers and let´s just say that the docs are not that good, the thing is, i want to implement push notifications on my app but i´m stuck on step 3 and 4…

Japa
- 632
- 7
- 30
4
votes
1 answer
Android Notification.BigTextStyle behavior
I have observed the following behavior when I create a notification with
Notification.setContextText("Teaser text. Read more...");
Notification.setStyle(new Notification.BigTextStyle().bigText("full text ..."));
When the notification appears at…

DroidOS
- 8,530
- 16
- 99
- 171
4
votes
1 answer
Phonegap CLI with Java 8
Up until recently I have been using PhoneGap CLI 5.0 with Node 4.1 and Java 1.7. To build Android APKs I created the build-extras.gradle file under platforms/android with the content
ext.postBuildExtras = {
android {
compileOptions {
…

DroidOS
- 8,530
- 16
- 99
- 171
4
votes
2 answers
Scheduling a local notification in PhoneGap/Cordova doesn't work on iOS simulator
Installed newest Xcode (7.3.1)
Installed newest PhoneGap (6.2.7)
Created default PhoneGap app
Installed local notification plugin using phonegap plugin add de.appplant.cordova.plugin.local-notification
Added code to create notification (see…

Zarkonnen
- 22,200
- 14
- 65
- 81
4
votes
4 answers
Video as splash screen on phonegap
Video mp4 or any format as a splash screen on hybrid app like phone gap/cordova. like current Ubber App

user3541151
- 51
- 5