Questions tagged [phonegap-cli]

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.

233 questions
2
votes
1 answer

Cordova Error: Please install Android target: "android-23": PhoneGap :6.0.1

I am trying to build apk with Phonegap 6.0.1 at path /path/to/myproject/platforms/android/cordova run command build --releaseget error as below here is screenshot of android sdk manager I also try change in file…
Dinesh
  • 835
  • 2
  • 17
  • 37
2
votes
1 answer

Error while building phonegap android app using cli Win7

I'm able to launch sdk manager using cli. Updated to Android sdk tools 24.4.1. ANDROID_HOME has been set to C:\Program Files\Android\android-sdk\platform-tools. ant has been installed and added to path. The app gets created but it gets failed to…
susan
  • 53
  • 5
2
votes
3 answers

cordova: media.getDuration returns -1

I am using Media.getDuration() function to get duration of an audio file but I am always getting -1 as response. This works fine if I build using build.phonegap.com But whenever I build using cli I then getDuration does not work. Following are…
user2899728
  • 2,099
  • 4
  • 16
  • 28
2
votes
1 answer

Windows 10 icons in Cordova config.xml

I'm building my sencha touch app for windows 10 using cordova. For iOS and Android the cordova documentation explains very well how to configure the various icons and splashscreens. But for windows the example shows very few icons, I've tried to…
allemattio
  • 1,836
  • 17
  • 33
2
votes
1 answer

Error compiling phonegap

I'm trying to get up to Google Play but I'm in trouble already follow all ta here: http://developer.android.com/tools/publishing/app-signing.html But still will not. Speaks on Google Play: Você enviou um APK não assinado. Crie um APK assinado The…
user3092202
  • 147
  • 6
2
votes
1 answer

How to control [Android] permissions with Phonegap?

Sorry for the length of this. Please read on. How can I configure phonegap's project files so that either phonegap platform add or phonegap build generate APK (or intermediate files that are used to generate APK) without any permissions, while not…
Hari Lubovac
  • 622
  • 4
  • 14
1
vote
0 answers

Need to Customize PhoneGap Build for Andriod ver. 6 & 7

We are facing issue in Phone Gap app as below, Default app is supporting Android 8, 9 & 10 but we require to install .APK file in Android version 6 & 7. While generating the build, we tried to customize the version of Phone Gap CLI to 6.5.0 in…
Rajeshpkt
  • 11
  • 1
1
vote
2 answers

Updating versionCode for Android PhoneGap app

I have tried updating the config.xml file to include: versionCode="10002" I've created a 'platforms/android/release-signing.properties' file and ran: phonegap build --release android --versionCode=10002 Nothing seems to make the versionCode=10002…
tkjef
  • 704
  • 7
  • 17
1
vote
0 answers

phonegap file .bithoundrc and ignored files

I've noticed a file in phonegap called .bithoundrc I searched for it's use but didn't get good info I know that it ignores some file I have also a js file and i want to ignore it in build will this file ignore it? thank you all .
Mustafa Agamey
  • 513
  • 2
  • 9
  • 21
1
vote
1 answer

cant convert existing website to phonegap using url

i have a responsive mobile view website. i need to convert the website into phonegap application with url - just to load the site into the app. I done many researches on this topic and couldnt find any good answer. I tried to load the URL throught…
1
vote
1 answer

PhoneGap - App Not Installed An existing package by the same name with a conflicting signature in already installed

I have build an app v1.0.4 using phonegap cli-6.5.0 , while updating this version with my previous version v1.0.3 it show the error App Not Installed An existing package by the same name with a conflicting signature in already installed I have used…
1
vote
1 answer

Phonegap Application Loader No image found at the path referenced under key 'CFBundleIconFiles': 'icon.png'

I have recently started to run into an issue with my cordova/phonegap project that is causing Apple's Application Loader to blow up when uploading an ipa file. Log from Application Loader: "Invalid Image Path - No image found at the path referenced…
1
vote
0 answers

How to use cordova/phonegap in my website?

I have a site, and i need to use cordova/phonegap in my site. because some features are available in cordova/phonegap. so i need to use that features in my site using cordova(I don't want to convert my site into app) i just use cordova for some…
Coder_07
  • 27
  • 5
1
vote
0 answers

Phonegap is unable to install cordova plugins: The platform "browser" does not appear to be a valid cordova platform

I'm not able to install new plugins in Phonegap with the command: $ phonegap plugin add **. For example, when I run $ phonegap plugin add cordova.plugins.diagnostic, the following error occurs: Installing "cordova.plugins.diagnostic" for browser …
1
vote
0 answers

Convert Local Phonegap App to Android App

I need to convert my Phonegap files to an Android app using CLI. I don't need Android Webview. How is that possible? Can someone help me, please? Thanks.
Hello World
  • 85
  • 1
  • 8