Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49076

Plugman - The provided path is not an Android Project

$
0
0

@adzy2k6 wrote:

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="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">

<clobbers target="MediaPlugin"/>
</js-module>

<platform name="android">

<config-file target="config.xml" parent="/*">
<feature name="MediaPlugin">
<param name="android-package" value="omitted"/>
</feature>
</config-file>
</platform>
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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>