安装Homebrew
- 通过镜像安装
/usr/bin/ruby -e "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install)"
- 配置中科大镜像地址
git -C "$(brew --repo)" remote set-url origin https://mirrors.ustc.edu.cn/brew.git
git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
通过Homebrew安装node,watchman,jdk
brew install node
brew install watchman
brew install adoptopenjdk/openjdk/adoptopenjdk8
安装Android Studio
- Unable to access Android SDK add-on list
本地ping dl.google.com
确定网络通畅,点Cancel,Next,自动下载 - Failed to determine required packages
点Finish,More Actions -> SDK Manager -> Appearance & Behavior -> System Settings -> Updates -> Channel 改为 "Canary Channel",重启Android Studio完成安装
其他
大部分场景需要科学上网,部分场景需要不科学上网
网友评论