使用:
export ANDROID_HOME="/opt/android-sdk"
export PATH=$ANDROID_HOME/bin:$PATH
登录Linux:
# mkdir -p /opt/android-sdk/platforms
# unzip platform-26_r01.zip -d /opt/android-sdk/platforms/
# mv /opt/android-sdk/platforms/android-8.0.0 /opt/android-sdk/platforms/android-26
官网下载地址:https://dl.google.com/android/repository/platform-26_r01.zip
1