android - how to set set the ANDROID_HOME environment variable in mac -
i had set create .bash_profile file , save these lines:
export android_home=/users/macbookpro/library/android/sdk export path=$path:$android_home/tools:$android_home/platform-tools and enter in terminal: source ~/.bash_profile , if enter in terminal command: echo $android_home have correct path:
/users/macbookpro/library/android/sdk but if run command:
ionic cordova run android in ionic project, got error:
error running 1 or more of platforms: android sdk not found. make sure installed. if not @ default location, set android_home environment variable. may not have required environment or os run project what should do!

Comments
Post a Comment