Plugman - The provided path is not an Android Project


I am currently trying to develop a Cordova plugin for a project at work. I have developed a basic skeleton, including a plugin.xml file, a javascript file to act as the interface, and a skeleton file for the android version of the plugin. To facilitate testing, I have created a separate cordova project and added the android platform to it.

When I attempt to install the plugin to the test project, I receive an error saying ‘The provided path “omitted” is not an Android Project’ (Along with a stack trace saying the same thing). I have checked that the platform is installed in the project, and the project does run. The plugin.xml file is as below:

<?xml version="1.0" encoding = "UTF-8"?>
<plugin xmlns=""

<author>Author Name</author>

<js-module src="media.js" name="MediaPlugin">

<clobbers target="MediaPlugin"/>

<platform name="android">

<config-file target="config.xml" parent="/*">
<feature name="MediaPlugin">
<param name="android-package" value="omitted"/>
I am using version 5.2.0 of cordova, and version 1.0.5 of Plugman. Any help with this issue would be greatly appreciated.

The following is from the ionic info command:

Cordova CLI: 5.2.0
Ionic CLI Version: 1.7.13
Ionic App Lib Version: 0.6.5
OS: Windows 8.1
Node Version: v0.12.7

Edit: Sorry for the indenting on the XML. It got messed up when copied to the forum post, and I am not sure how to get it to appear correctly.


Did you first run ionic platform add android before running ionic run android?