图像

react-native install on windows for Android

React Native Versions (current) 0.26
react-native install on windows for Android

1. 安装 Chocolatey (windows cmd)

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

2. 安装 Python 2 (windows cmd 管理员身份)

choco install python2

3. 安装 Node (windows cmd 管理员身份)

choco install nodejs.install

4. 安装 React Native Command Line Tools

npm install -g react-native-cli

5. Android Studio (Android Studio 2.0 or higher)

  • Make sure all components are checked for the install, particularly the Android SDK and Android Device Emulator.
  • After the initial install, choose a Custom installation.
  • Verify installed components, particularly the emulator and the HAXM accelerator. They should be checked.
  • After installation, choose 
    Configure | SDK Manager

     from the Android Studio welcome window.

  • In the SDK Platforms window, choose Show Package Details and under Android 6.0 (Marshmallow), make sure that Google APIs, Intel x86 Atom System Image, Intel x86 Atom_64 System Image, and Google APIs Intel x86 Atom_64 System Image are checked.
  • In the SDK Tools window, choose Show Package Details and under Android SDK Build Tools, make sure that Android SDK Build-Tools 23.0.1 is selected.
  • set ANDROID_HOME Environment Variable
  • Gradle Daemon
  • Add Android Tools Directory to your PATH

6. set all path:

  • ANDROID_HOME: F:\soft\Android\sdk
  • PATH;C:\Users\Jerry\AppData\Roaming\npm
  • PATH;C:\Program Files (x86)\nodejs

One thought on “react-native install on windows for Android

  1. Clomid 2 Par Repas Cialis Levitra Viagra Difference Cephalexin Penicillin Allergy Safe Cialas And Viagra Buys Cialis Stripes Kaufen viagra Kamagra Vente 200 Mg Where To Order Amoxicilina Bacterial Infections In Internet Viagra Mas Alcohol Propecia Y Cialis Cat Dosage Amoxicillin

发表评论