cordova-cli Questions

35

Solved

I am using Cordova 6.4.0 in Windows 7 OS, but I get this error once I tried to build the android version : The Java Home variable is setted correctly to the JDK path, but I don't know why I am g...
Driedup asked 16/11, 2016 at 9:23

2

Solved

I got my error when I tried to build my first iOS Cordova App. By using this command : sudo cordova build ios --device Here what my terminal output: CordovaError: Promise rejected with non-...
Meeks asked 17/3, 2019 at 1:38

2

Solved

I am attempting to build an Android APK using the following command: cordova build android --release -- --gradleArg=-PcdvMinSdkVersion=19 Yet when I verify which minSdkVersion the built APK targ...
Chloromycetin asked 25/8, 2016 at 10:46

1

When running command cordova run ios --device, I am getting the following error: FIXME: Implement XCBuild support for macros in overriding parameters with condition sets: CODE_SIGN_IDENTITY[sdk=...
Booker asked 4/3, 2020 at 23:18

9

Solved

Installed Ionic successfully. When running ionic info and other commands like ionic browser --list, I get an error that cordova is lower then version 4. Cordova is installed with no sudo and in g...
Reminiscence asked 29/3, 2016 at 12:57

1

Solved

I am trying to update the AndroidManifest.xml file with the following in config.xml: <platform name="android"> <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/...
Chloride asked 13/11, 2018 at 11:24

3

Solved

I've been searching through CLI docs, SO questions, Cordova issues and more for quite some time, but I'm stumped. So I've created a simple Cordova app for Android using Crosswalk (cordova create,...

10

Solved

I just installed Phonegap for the first time and just browsed through the docs. What confuses me is the fact that some docs are using the command "phonegap" and some "cordova". Android platform gu...
Birt asked 11/8, 2013 at 17:10

2

I am currently using Cordova Phonegap to build an application for iOS. It was working fine, but now I'm getting an error when I'm running cordova build ios in the terminal. I'm getting the followin...
Bollix asked 1/1, 2017 at 1:39

9

Solved

How can I build an android app locally using the Phonegap 3.x CLI, ready to release? I check the bin folder generated inside the platforms/android directory of the project, and only has .debug APKs...
Disenfranchise asked 5/12, 2013 at 14:38

4

Solved

I've been banging my head on this one for a few days. After getting a number of "object not defined" errors when trying to create a new FileTransfer() object, it looks like the problem is more basi...
Uncommercial asked 9/1, 2015 at 16:47

2

I'm using ionic 2.0.0-beta.37, cordova 6.2.0 and node 6.2.0 on OSX 10.11.4 cordova platform list | time ionic platform list real 0m19.449s | real 1m16.809s user 0m0.890s | user 0m2.711s sys 0m0.1...

6

I have installed Cordova and built a basic app. The application is running fine in my android device. To make work easier, I was trying to run the Cordova browser platform. I ran the following comm...
Heaviside asked 19/4, 2015 at 13:27

3

Solved

After updating cordova to version 4.3.0 the command: cordova build returns the following error: module.js:340 throw err; ^ Error: Cannot find module 'Q' at Function.Module._resolveFilename ...
Workmanship asked 6/3, 2015 at 11:39

1

I know that Cordova now allows for platform-specific package names. We can do this in config.xml for Android and iOS through the android-packageName and ios-CFBundleIdentifier attributes in the tag...
Treadway asked 3/9, 2015 at 14:37

3

Solved

I entered the command below in the CMD and the command returned the error below the command. Command: phonegap run android --verbose --stacktrace Error: ERROR: Failed to launch application on dev...
Pengelly asked 14/1, 2016 at 14:4

3

Solved

I have my gulpfile.js with some tasks and I want to execute one task when I do cordova build I created a before_build folder inside of the hooks folder with a simple console.log("a")in a js file. ...
Perionychium asked 3/2, 2015 at 20:43

1

Solved

File fetch.json created inside plugins folder after cordova plugin add executed first time. This file also modified each time I add/remove plugins. What purpose of this file exactly? What tools u...
Joyajoyan asked 17/5, 2015 at 9:6

2

I can't workout how to add the CordovaLib directory as a module dependency in Android Studio. (NOTE: this is the first time I've ever used Android Studio, so possibly I just don't know what I'm do...
Jarvisjary asked 14/3, 2015 at 11:57

2

I suppose I'm doing something wrong but I had to patch https://github.com/phonegap/phonegap/blob/master/lib/android/bin/templates/cordova/lib/cordova.js#L313 this way (add "unaligned" token matchin...
Success asked 26/6, 2013 at 9:55

1

Solved

I am getting this error in terminal when attempting to execute this command: $ cordova platform add android I read these answers here: Error: ANDROID_HOME is not set and "android" com...

3

In the config file that is the blue print for all platforms, i Have added this: <name>My app name</name> <description> My app description. </description> <author email=...
Mcleod asked 6/1, 2014 at 15:47

2

Solved

Cordova provides a CLI for instantiating and building a Cordova framework. For example you can type: cordova create ... to create the directory structure for building a Cordova app. You can al...
Masuria asked 3/3, 2014 at 16:29

5

I've created app with "phonegap create" command. Then I switch to project dir and try to run it with "phonegap local run android" and I have next error message: Please install Android target 17 ...
Unquestioned asked 17/7, 2013 at 19:36

4

I've tested the Cordova 3.0.0 CLI Tool. The command $ sudo cordova platform add android was done OK. But i've got error during the command $ sudo cordova platform add ios Error [Error: An er...
Elconin asked 21/7, 2013 at 13:56

© 2022 - 2024 — McMap. All rights reserved.