美文网首页
mac开发React Native(对官网内容的补充)

mac开发React Native(对官网内容的补充)

作者: 李霖弢 | 来源:发表于2021-11-05 16:22 被阅读0次

    安装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完成安装

    其他

    大部分场景需要科学上网,部分场景需要不科学上网

    相关文章

      网友评论

          本文标题:mac开发React Native(对官网内容的补充)

          本文链接:https://www.haomeiwen.com/subject/lczhzltx.html