Skip to content

Instantly share code, notes, and snippets.

@hungdev
Last active August 4, 2018 17:55
Show Gist options
  • Save hungdev/9126fffb166d0a8803b5c1c94001ad68 to your computer and use it in GitHub Desktop.
Save hungdev/9126fffb166d0a8803b5c1c94001ad68 to your computer and use it in GitHub Desktop.

install java, jdk, sdk.... first

use vim: vi ~/.bashrc and vi ~/.bash_profile ( use vim to create file) then paste below lines to that. ( use shift + zz to save and close vim or or esc button and :x)

if file is exist, you can open with nano: sudo nano ~/.bash_profile

(prioritize: ~/.bash_profile)

export ANDROID_HOME=/Users/cee/Library/Android/sdk
export PATH=${PATH}:/Users/cee/Library/Android/sdk/tools
export PATH=${PATH}:/Users/cee/Library/Android/sdk/platform-tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment