title: Cordova not finding avd
body: <p>After following the instructions for setting up Cordova for Android development on the <a href="https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html" rel="nofollow">Cordova documentation</a>, I encountered this error:</p>
  
  <pre><code>Error: No emulator images (avds) found.
  1. Download desired System Image by running: /Users/Jacob/Library/Android/sdk/tools/android sdk
  2. Create an AVD by running: /Users/Jacob/Library/Android/sdk/tools/android avd
  HINT: For a faster emulator, use an Intel System Image and install the HAXM device driver
  </code></pre>
  
  <p>Every other post I found only said to <strong>add</strong> an emulator, but I have already done that. In Android Studio, I have in fact made three!</p>
  
  <p>It is also worth mentioning that Cordova <strong>used</strong> to be able to run the emulator, but in attempting to fix another problem, I ran into this one. <strong>I did run into a problem with permissions, and now have to use <code>sudo</code> every time I run a Cordova command. Could that have anything to do with it?</strong></p>
  
  <p>Here is my .bash_profile:</p>
  
  <pre><code>ANDROID_HOME=/Users/Jacob/Library/Android/sdk
  PATH=${PATH}:/Users/Jacob/Library/Android/sdk/platform-tools:/Users/Jacob/Library/Android/sdk/tools
  JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home
  </code></pre>
  
  <p>I have been trying to use the Android API level 23 with Android 5.1.1 in Cordova.</p>
  
  <p>After trying everything I could think of (as a Terminal newbie :p), I'm out of ideas. I have tried reinstalling the Android SDK with all the packages, node.js (perhaps not entirely cleaning log files/caches), and Cordova, but to no avail. Is there anything in particular I could just reinstall so that the problem would probably disappear without much fixing?</p>
  
  <p>Thanks!</p>