Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio is unable to parse plugin.xml #30

Open
zshtern opened this issue Apr 19, 2016 · 1 comment
Open

Visual Studio is unable to parse plugin.xml #30

zshtern opened this issue Apr 19, 2016 · 1 comment

Comments

@zshtern
Copy link

zshtern commented Apr 19, 2016

Visual Studio 2015, the error is received on trying to add the custom plugin.

@SirusDoma
Copy link

This is due to missing attribute of plugin, I manage to make it works, do following steps to add it into your project:

  1. Clone the Repository
  2. Open Plugin.xml with text editor, add following attribute to plugin root:

xmlns:android="http://schemas.android.com/apk/res/android"

It should be look something like this:

   <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" 
               xmlns:android="http://schemas.android.com/apk/res/android"
               id="cz.blocshop.socketsforcordova" version="1.1.0">
  1. Go to Config,xml > Plugins > Custom, select Local, then click "...", then select the repository folder that you cloned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants