PHPSOFT SOLUTIONS LOGO
  • Home
  • About Us
  • Contact Us
  • Contact Us
  • Blog
  • Online Courses
  • Contact US

phonegap adding plugin to local app

During adding of any phonegap plugin sometime we get an error like this:
[Error: Error fetching plugin: Error: git command line is not installed]

To avoid this error you need a aproper set up of your phonegap development environment, that includes.
1- node.js installed
2- phonegap installed
3- Platform (Android) SDK installed optional in case you build your script remotely by phonegap build Ex $ phonegap remote build iosBut you require to login first on https://build.phonegap.com say $ phonegap remote login -u iamreallyadog@gmail.com -p mYpASSw0RD
$
.
4-JAVA and ANT installed with environmental variable set on your system , require when you build your apps locally.
5-GIT command line tool recommended to install any plugin at local on your app.
procedure, install git and set your git path in environmental variablle.
flow: start->my computer-> right click and properties -> clcik advance system settings ->Environment variables ->System variable choose path from list of variables and click edit-> paste your git path adding semicoln before and after ex;C:Program FilesGitbin;.click ok , ok and return .
6- re open node command line tool, remembed if that is open , close it and reopen it and reach to app folder, then try any adding command say $ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git
7- Its done

Posted on February 2014
Category: PHP Frameworks

Categories

  • Blog
  • phonegap
  • PHP Frameworks
  • php-jquery
  • system
  • Wordpress
  • Yii

Post navigation

Previous post

how to add meta option in post and pages.

Next post

how to use Curl in php


PHPSOFT SOLUTIONS LOGO

Our mission is to satisfy our customers to the best.Money is the source nowdays, the trust of how we can use your money in the best way is build by us.The core value of php soft solutions is to provide the best service to our customers in a great manner.

Contact

PLOT NO. C157, The Groove, Industrial focal point, Phase7,MOHALI, SAS Nagar, Punjab, 160055

8146501814

contact@phpsoftsolutions.in

Pages Links
  • WordPress
  • Yii
  • PHP Frameworks
  • php-jquery
  • system
  • phonegap

© 2025 PHPSOFT SOLUTIONS