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="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://shemas.android.com/apk/res/android" id="omitted" version="1.0.0"> <name>MediaPlugin</name> <author>Author Name</author> <js-module src="media.js" name="MediaPlugin">
<config-file target="config.xml" parent="/*">
<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.