Pre-requisite:
- Before installing Android Studio you need to install JDK in your system.
- Download JDK from below link: http://www.oracle.com/technetwork/java/javase/downloads/index.html
- Post installation of JDK, you can verify by running below command in command prompt window:
javac -version
- After installation of JDK, you need to set the JAVA_HOME in environment variable. Follow below steps for setting JAVA_HOME in Environment Variables
- Open Control Panel
- Click "System and Security"
- Click "System"
- On Left Hand Nav , click "Advanced system settings"
- System Properties popup window will appear.
- Click Advanced tab
- On bottom you will find "Environment Variables..." button.
- Below is the screenshot for better illustration:
Click "Environment Variables..." button and you will see "Environment Variables" popup window appears.
4. Under "System variables" section , click New.
5. New System Variable popup will appear. Provide the new System Variable name and path where JDK is installed in Variable Value field. Click OK.




No comments:
Post a Comment