title: Android Ionic Cordova - Error: Failed to get absolute path to installed module
body: <p>I have created a custom plugin and I'm trying add it by cmd getting below error</p>
  
  <pre><code>&gt; cordova plugin add C:\r\work\custom_plugins\cordova-plugin-webrtc-video-call -
  -save
  x Running command - failed!
  
  [ERROR] Cordova encountered an error.
          You may get more insight by running the Cordova command above directly.
  
  [ERROR] An error occurred while running cordova plugin add
          C:\r\work\custom_plugins\cordova-plugin-webrtc-video-call --s... (exit
          code 1):
  
          Error: Failed to get absolute path to installed module
  
  
  C:\r\work&gt;
  </code></pre>
  
  <p><strong>config.xml</strong></p>
  
  <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
  &lt;plugin id="cordova-plugin-webrtc-video-call" version="1.0.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;name&gt;WebrtcVideoCall&lt;/name&gt;
      &lt;js-module name="WebrtcVideoCall" src="www/WebrtcVideoCall.js"&gt;
          &lt;clobbers target="cordova.plugins.WebrtcVideoCall" /&gt;
      &lt;/js-module&gt;
      &lt;platform name="android"&gt;
          &lt;config-file parent="/*" target="res/xml/config.xml"&gt;
              &lt;feature name="WebrtcVideoCall"&gt;
                  &lt;param name="android-package" value="com.hsc.plugin.webrtc.WebrtcVideoCall" /&gt;
              &lt;/feature&gt;
          &lt;/config-file&gt;
          &lt;config-file parent="/manifest/application" target="AndroidManifest.xml"&gt;
              &lt;activity
                  android:name="com.hsc.plugin.webrtc.CallActivity"
                  android:screenOrientation="fullUser"
                  android:configChanges="orientation|screenSize"
                  android:exported="true"
                  android:theme="@style/CallActivityTheme"&gt;
                  &lt;intent-filter&gt;
                      &lt;action android:name="com.hsc.plugin.ACTION_CALL" /&gt;
                      &lt;category android:name="android.intent.category.DEFAULT" /&gt;
                  &lt;/intent-filter&gt;
              &lt;/activity&gt;
  
          &lt;/config-file&gt;
          &lt;config-file target="AndroidManifest.xml" parent="/manifest"&gt;
              &lt;uses-feature android:name="android.hardware.camera" required="false" /&gt;
              &lt;uses-feature android:name="android.hardware.camera.autofocus" required="false" /&gt;
              &lt;uses-feature
                  android:glEsVersion="0x00020000"
                  android:required="false"
              /&gt;
              &lt;uses-permission android:name="android.permission.CAMERA"/&gt;
              &lt;uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/&gt;
              &lt;uses-permission android:name="android.permission.RECORD_AUDIO"/&gt;
              &lt;uses-permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT" /&gt;
          &lt;/config-file&gt;
          &lt;framework src="src/android/Webrtc.gradle" custom="true" type="gradleReference"/&gt;
  
          &lt;source-file src="src/android/AppRTCAudioManager.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/AppRTCClient.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/AppRTCProximitySensor.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/CallActivity.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/CallFragment.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/CaptureQualityController.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/CpuMonitor.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/DirectRTCClient.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/HudFragment.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/PeerConnectionClient.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/PercentFrameLayout.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/RoomParametersFetcher.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/TCPChannelClient.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/UnhandledExceptionHandler.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/WebrtcVideoCall.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/WebSocketChannelClient.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/WebSocketRTCClient.java" target-dir="src/com/hsc/plugin/webrtc" /&gt;
          &lt;source-file src="src/android/util/AppRTCUtils.java" target-dir="src/com/hsc/plugin/webrtc/util" /&gt;
          &lt;source-file src="src/android/util/AsyncHttpURLConnection.java" target-dir="src/com/hsc/plugin/webrtc/util" /&gt;
  
          &lt;source-file src="src/android/libs/autobanh.jar" target-dir="libs" framework="true" /&gt;
          &lt;source-file src="src/android/libs/libjingle-peerconnection-sources.jar" target-dir="libs" framework="true" /&gt;
          &lt;source-file src="src/android/libs/libjingle-peerconnection.jar" target-dir="libs" framework="true" /&gt;
          &lt;source-file src="src/android/libs/armeabi-v7a/libjingle_peerconnection_so.so" target-dir="libs/armeabi-v7a" 
                       framework="true" /&gt;
  
          &lt;!--  drawable src/android/resources --&gt;
          &lt;resource-file src="src/android/res/drawable-hdpi/disconnect.png" target="res/drawable-hdpi/disconnect.png" /&gt;
          &lt;resource-file src="src/android/res/drawable-mdpi/disconnect.png" target="res/drawable-mdpi/disconnect.png" /&gt;
          &lt;resource-file src="src/android/res/drawable-xhdpi/disconnect.png" target="res/drawable-xhdpi/disconnect.png" /&gt;
          &lt;resource-file src="src/android/res/drawable-ldpi/disconnect.png" target="res/drawable-ldpi/disconnect.png" /&gt;
          &lt;resource-file src="src/android/res/layout/activity_call.xml" target="res/layout/activity_call.xml" /&gt;
          &lt;resource-file src="src/android/res/layout/fragment_call.xml" target="res/layout/fragment_call.xml" /&gt;
          &lt;resource-file src="src/android/res/layout/fragment_hud.xml" target="res/layout/fragment_hud.xml" /&gt;
          &lt;resource-file src="src/android/res/values/WebrtcPluginStrings.xml" target="res/values/WebrtcPluginStrings.xml" /&gt;
          &lt;resource-file src="src/android/res/values/WebrtcPluginStyles.xml" target="res/values/WebrtcPluginStyles.xml" /&gt;
  
          &lt;resource-file src="src/android/res/drawable-hdpi/ic_action_full_screen.png" target="res/drawable-hdpi/iic_action_full_screen.png" /&gt;
          &lt;resource-file src="src/android/res/drawable-mdpi/ic_action_full_screen.png" target="res/drawable-mdpi/ic_action_full_screen.png" /&gt;
          &lt;resource-file src="src/android/res/drawable-xhdpi/ic_action_full_screen.png" target="res/drawable-xhdpi/ic_action_full_screen.png" /&gt;
          &lt;resource-file src="src/android/res/drawable-ldpi/ic_action_full_screen.png" target="res/drawable-ldpi/ic_action_full_screen.png" /&gt;
  
          &lt;resource-file src="src/android/res/drawable-hdpi/ic_action_return_from_full_screen.png" target="res/drawable-hdpi/ic_action_return_from_full_screen.png" /&gt;
          &lt;resource-file src="src/android/res/drawable-mdpi/ic_action_return_from_full_screen.png" target="res/drawable-mdpi/ic_action_return_from_full_screen.png" /&gt;
          &lt;resource-file src="src/android/res/drawable-xhdpi/ic_action_return_from_full_screen.png" target="res/drawable-xhdpi/ic_action_return_from_full_screen.png" /&gt;
          &lt;resource-file src="src/android/res/drawable-ldpi/ic_action_return_from_full_screen.png" target="res/drawable-ldpi/ic_action_return_from_full_screen.png" /&gt;
  
  
  
      &lt;/platform&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>I have already tried with --nofetch option, I'm using cordova v7.0.1</p>