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