title: How do i add android tools to my path on mac?
body: <p>I'm trying to add get the android development environment to work om my mac. I'm following this guide: <a href="https://spring.io/guides/gs/android/" rel="nofollow noreferrer">https://spring.io/guides/gs/android/</a></p>
  
  <p>I'm supposed to add the sdk to my path using:</p>
  
  <pre><code>export ANDROID_HOME=/Users/myname/Library/Android/sdk/android-sdk-macosx
  export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
  </code></pre>
  
  <p>however this does not give me acces to the 'android' command in the termial and when I execute $ANDROID_HOME i keep getting:</p>
  
  <pre><code>zsh: no such file or directory: /Users/myname/Library/Android/sdk/android-sdk-macosx
  </code></pre>
  
  <p>I've checked the path in </p>
  
  <blockquote>
    <p>Android Studio>Preferences>Appearance &amp; Behavior>System Settings>Android SDK</p>
  </blockquote>
  
  <p>SDK location should be correct. What am I doing wrong?</p>