Skip to content

Instantly share code, notes, and snippets.

@RidaRidss
Created November 4, 2017 15:29
Show Gist options
  • Select an option

  • Save RidaRidss/82042efa3b7a4588f735bfde7fbbc229 to your computer and use it in GitHub Desktop.

Select an option

Save RidaRidss/82042efa3b7a4588f735bfde7fbbc229 to your computer and use it in GitHub Desktop.

Step 1: Node Js :

1. download and install node.js from below link

https://nodejs.org/dist/v8.9.0/node-v8.9.0-x64.msi

note :

Open terminal and follow commands 

    1. npm -g update
    2. node -v
    3. npm -v

Step 2: Yarn :

Open terminal and follow commands 
npm install -g yarn

Step 3: Watchman :

Download and install from below link
  
 https://ci.appveyor.com/api/projects/wez/watchman/artifacts/watchman.zip?branch=master&job=Environment:+WATCHMAN_WIN7_COMPAT%3D

Step 4: JDK :

 Download JDK
 1. Goto Java SE download site @ http://www.oracle.com/technetwork/java/javase/downloads/index.html.
 2.  Under "Java Platform, Standard Edition" ⇒ "Java SE 8u{xx}", where {xx} is the latest update number ⇒ Click the "JDK Download" button.
 3. Look for the latest "Java SE Development Kit 8u{xx}" ⇒ Check "Accept License Agreement".
 4. Choose the JDK for your operating system, e.g., "Windows x64" (for 64-bit Windows OS) or "Windows x86" (for 32-bit Windows OS). You can check whether your Windows OS is 32-bit or 64-bit via "Control Panel" ⇒ (Optional) System and Security ⇒ System ⇒ Under "System Type".

JDK & JRE :

1. Run the downloaded installer (e.g., "jdk-8u{xx}-windows-x64.exe"), which installs both the JDK and JRE. By default, the JDK will be installed in directory "C:\Program Files\Java\jdk1.8.0_xx", where xx denotes the upgrade number; and JRE in "C:\Program Files\Java\jre1.8.0_xx".
2. Accept the defaults and follow the screen instructions to install JDK and JRE.
3. Check the JDK installed directory by inspecting these folders using File Explorer. Take note of your JDK installed directory, in particular, the upgrade number, which you will need in the next step.

I shall refer to the JDK installed directory as <JAVA_HOME>, hereafter, in this article.

Include JDK's "bin" Directory in the PATH

1. Windows Shell searches the current directory and the directories listed in the PATH environment variable (system variable) for executable programs. JDK's programs (such as Java compiler javac.exe and Java runtime java.exe) reside in directory "<JAVA_HOME>\bin" (where <JAVA_HOME> denotes the JDK installed directory). You need to include "<JAVA_HOME>\bin" in the PATH to run the JDK programs.
2. To edit the PATH environment variable in Windows 7/8/10:
3. Launch "Control Panel" ⇒ (Optional) System and Security ⇒ System ⇒ Click "Advanced system settings" on the left pane.
4. Switch to "Advanced" tab ⇒ Push "Environment Variables" button.
5. Under "System Variables" (the bottom pane), scroll down to select "Path" ⇒ Click "Edit...".

For Windows 10 (newer releases):

You shall see a TABLE listing all the existing PATH entries (if not, goto next step). Click "New" ⇒ Enter the JDK's binary directory "c:\Program Files\Java\jdk1.8.0_xx\bin" (Replace xx with your installation number!!!) ⇒ Select "Move Up" to move this entry all the way to the TOP.

Step 5 : Android Studio :

      Download and Install Android Studio from below link
      
      https://developer.android.com/studio/index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment