jdk

jdk-down

环境变量

````
$vim ~/.bash_profile
$vim ~/.zshrc //要是使用zsh就编辑zshrc

#在后面追加
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
export JAVA_HOME
export PATH=$JAVA_HOME/bin:$PATH

$source ~/.bash_profile
$source ~/.zshrc

$java -version

```

sdk中带的工具

mac:

export PATH=$PATH:/Users/xx/Library/Android/sdk/emulator

export PATH=$PATH:/Users/xx/Library/Android/sdk/build-tools/28.0.0

export GRADLE_HOME=/Applications/AndroidStudio.app/Contents/gradle/gradle-4.10.1

export PATH=$PATH:$GRADLE_HOME/bin

export PATH=$PATH:/Users/xx/Library/Android/sdk/tools/bin

export PATH=$PATH:/Users/xx/Library/Android/sdk/tools

export PATH=$PATH:/Users/xx/Library/Android/sdk/ndk-bundle

win:

adb
C:\Users\xx\AppData\Local\Android\Sdk\platform-tools

以上根据你的实际环境修改