title: How to set ANDROID_SDK_ROOT in mac?
body: <p>I am trying to use Cordova for app development. For now I am focusing on Android. I am trying to run <code>cordova emulate android</code>. It runs and after a long list of packages it says ‘build sucessful’ but in the end it also says</p>
  
  <blockquote>
    <p>PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT</p>
  </blockquote>
  
  <p>I use Homebrew. Here is output of the command on the command line:</p>
  
  <pre class="lang-none prettyprint-override"><code>BUILD SUCCESSFUL
  
  Total time: 1.345 secs
  Built the following apk(s):
      /users/mayurtolani/myMobileApp/platforms/android/build/outputs/apk/android-debug.apk
  
  ANDROID_HOME=/usr/local/Cellar/android-sdk/24.4.1_1
  JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home
  No emulator specified, defaulting to Nexus_5_API_24
  Waiting for emulator to start...
  PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT
  </code></pre>