phonegap-cli | PhoneGap and PhoneGap/Build command-line interface | Command Line Interface library
kandi X-RAY | phonegap-cli Summary
kandi X-RAY | phonegap-cli Summary
PhoneGap command-line interface and Node.js library.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get command line arguments
phonegap-cli Key Features
phonegap-cli Examples and Code Snippets
Community Discussions
Trending Discussions on phonegap-cli
QUESTION
From one day to another my build is now failing and these are the logs I have got from phonegap build:
...ANSWER
Answered 2018-Aug-03 at 14:15I got a a successful build deleting this line in my config.xml
QUESTION
I am looking to develop a Windows 10 Universal app based in HTML, CSS, and JavaScript for use on Microsoft Surface tablets primarily. I have found information that says it can be done on this page, but at the very bottom of the page it says it is in beta. However, I can't seem to find anything more than that post. No updates, or documentation or anything. Does anyone know if you can do this from the PhoneGap app on Mac OS?
If not, I guess the next best option it to do it on a Windows machine using Visual Studio 2017 and Cordova?
Any information anyone has on this subject would be helpful.
Thanks!
...ANSWER
Answered 2018-Mar-17 at 05:13No, I am pretty sure you can't build UWP apps on macOS. The reason is quite similar as the reason you cannot build iOS apps on Windows - you could build the JS portion of your code, but the problem is the fact that UWP build tools and SDKs are OS specific and unless Microsoft specifically ports them to macOS, they cannot work there.
You could use Parallels and run Windows as second OS, or use a build server to build the app in the cloud. Visual Studio App Center is a very good solution for you purpose as it allows you to configure a full build pipeline including UWP, iOS and Android builds.
QUESTION
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 mentioned in that post.
When I run the PhoneGap demo project in WebStorm I now get:
...ANSWER
Answered 2017-Apr-18 at 21:36Android SDK tools 25.3.1 broke cordova-android and some other libraries.
Cordova Android 6.2.1 has been released after that and it's now compatible with Android SDK tools 25.3.1, but it's not compatible with Phonegap CLI 6.4.5 and cordova-android 6.2.1. You have to update to latest Phonegap CLI 6.5.0 first.
Then you can update your current incompatible android platform with cordova platform update android@6.2.1
Or you can remove the existing platform and add the new one (will delete any manual change you did inside yourProject/platforms/android/ folder)
cordova platform rm android
cordova platform add android@6.2.1
You have to specify the 6.2.1 version because current CLI installs cordova-android 6.1.x by default.
Also, don't update Android SDK tools to 26.x.x yet because it breaks cordova-android 6.2.1
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install phonegap-cli
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page