1
votes

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?

2

2 Answers

1
votes

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
0
votes
  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