简体   繁体   中英

Installing Cordova Plugins in Visual Studio 2013

I am trying to build a hybrid app using Cordova project in visual studio. I need some plugins to build the app. I follow the post in MSDN Manage Plugins for Apps Built with Visual Studio Tools for Apache Cordova

But I get this: Couldn't download plugins.

To See This Error's Picture please click this

What steps I am missing or what should I do?

open your CMD. cd to your project

cd your_project_directory

then install the cordova plugin

cordova plugin add https://github.com/phonegap-build/PushPlugin
  1. run following command to install cordova globally

    npm install -g cordova

  2. Then create new cordova project using

    cordova start project_name

  3. Go to directory and Install plugin using

    cordova plugin add org.apache.cordova.file

  4. Copy Installed plugin folder & paste into plugins folder in Visual Studio solution.

  5. Update config file

    <vs:plugin name="org.apache.cordova.file" version="1.3.1" />

  6. Build the Project

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM