title: Can't install cordova plugin
body: <p>I am trying to use AdMob in my app. </p>
  
  <p>I am using this : <a href="https://github.com/appfeel/admob-google-cordova" rel="nofollow noreferrer">https://github.com/appfeel/admob-google-cordova</a></p>
  
  <p>Following this tutorial : <a href="https://github.com/appfeel/admob-google-demo" rel="nofollow noreferrer">https://github.com/appfeel/admob-google-demo</a></p>
  
  <p>I have downloaded the zip. Run it on device and got the following error message : </p>
  
  <blockquote>
    <p>cordova-admob plugin not ready. Are you in desktop browser ? It won't
    work...</p>
  </blockquote>
  
  <p>I investigated and found out the plugin isn't even installed. So I tried installing it via the CLI like so : </p>
  
  <pre><code>cordova plugin add cordova-admob
  </code></pre>
  
  <p>And I get the following messages : </p>
  
  <blockquote>
    <p>cordova-admob: Warning, could not copy necessary files for angular
    browser platform.</p>
    
    <p>cordova-admob: Please ensure 'www/lib/angular-admob/angular-admob.js'
    exists (you can copy it from 'plugins/cordova-admob/angular-admob.js')</p>
  </blockquote>
  
  <p>I tried copying it from there and created a folder at the location <code>www/lib/angular-admob</code>, as it wasn't there but I get build errors.</p>
  
  <p>Anyone come across this ? I've been at this for weeks, on and off, trying to get the adMob to work for PhoneGap/Cordova but I keep getting different errors. I have tried this plugin : </p>
  
  <p><a href="https://github.com/floatinghotpot/cordova-admob-pro" rel="nofollow noreferrer">https://github.com/floatinghotpot/cordova-admob-pro</a></p>
  
  <p>That one worked great on the android emulator, but not when I, both, served it to my device via the phonegap desktop app and served it from CLI to my device. </p>
  
  <p>Here's the error I am getting now  :</p>
  
  <p><a href="https://i.stack.imgur.com/UMyIq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UMyIq.png" alt="ERROR 1"></a></p>
  
  <p>When creating the project from scratch and following these steps : </p>
  
  <blockquote>
    <p>cordova create AdMobTest || cordova platform add android || cordova
    plugin add cordova-admob || creating empty lib folder inside my
    project www folder || cordova plugin remove cordova-admob || cordova
    plugin add cordova-admob || cordova prepare android || cordova compile
    android || cordova run android --device –</p>
  </blockquote>
  
  <p>I'm now getting this error : </p>
  
  <p><a href="https://i.stack.imgur.com/fzA08.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fzA08.png" alt="ERROR 2"></a></p>