title: Location of gradle binary/wrapper to add to PATH on Mac
body: <p>I am trying to use Ionic on Mac, but building to an android emulator target and not just running the browser version.  The <a href="http://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html" rel="nofollow noreferrer">Cordova docs</a> indicate that Android Studio should have everything, and indeed there are all the relevant wrappers etc. there:</p>
  
  <pre><code>$ ls ../AndroidProjects/
  AndroidProjects.iml gradle          local.properties
  app         gradle.properties   settings.gradle
  build           gradlew
  build.gradle        gradlew.bat
  </code></pre>
  
  <p>But somehow I can't figure out what to add to my <code>PATH</code> to get a project in a different directory to find that stuff, and I don't want to download gradle itself.</p>
  
  <pre><code>$ ionic cordova emulate android
  &lt;stuff&gt;
  (node:56809) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CordovaError: Could not find an installed version of Gradle either in Android Studio,
  or on your system to install the gradle wrapper. Please include gradle 
  in your path, or install Android Studio
  </code></pre>
  
  <p>Even if I explicitly put the Android Studio project folder in my path, this happens.  Weirdly, the final message is still</p>
  
  <pre><code>[OK] Your app has been deployed.
  </code></pre>
  
  <p>This does not appear to be <a href="https://stackoverflow.com/questions/24398041/build-android-studio-app-via-command-line/47987822#47987822">this question</a> or <a href="https://stackoverflow.com/questions/35043277/location-of-gradle-binary-on-android-studio-install-linux">this question</a>.</p>