Quik Links

How to setup android studio.? How to install android studio.? Error in installing android studio.? Windows/Linux/MacOs

Hello friends,

The problem in installing an android studio is very common to all as it's huge setup includes everything in it required to build awesome apps.

Don't worry if it doe not installed in first go we will soon start in your pc and we will look into the issue and fix it.

Basically, you need two things to run the android studio.
  1. Java environment (JDK installed) Download Java
  2. Latest Android Studio(3.2 at this time) Download Android Studio
If you have already downloaded java and installed in your pc then you need to check which java version is installed on  your pc.

How to check which java version is installed.? 
 
For Windows/Linux 
  • Open cmd/terminal
  •  For Windows press window key+R and type cmd and run it.
  • For Linux, search terminal run it 

In both, you can use this command to know your java version installed javac -version

Below is the sample output in windows



For MacOs

Find Java Control Panel on Mac
Launch the Java Control Panel on Mac (10.7.3 and above)
  1. Click on Apple icon on upper left of the screen.
  2. Go to System Preferences
  3. Click on the Java icon to access the Java Control Panel.
 To know in more details for macos click here


Now, we are done with installation of java or checking of java version lets's come back to android studio installation.

It's recommended that you need to connect to wifi or a good internet connection with your system so if any file missing or any updation require it fixes it while installation only.

If you got "Hello World " on the screen in the first go then many congratulations to you as you have successfully running android studio and ready to go.

If there is some errors or red lines on the files don't worry there might be some updation require or SDK file location missing you just connect your system to the internet and start android studio again.
 
And in somecases it might not pick the sdk location automatically and you need to set the SDK path in case it could not pick the path for SDK.

How to set SDK path or How to find SDK location.?  

Your SDK location will be in

 Windows:- C:/user/<your system name>/AppData/Local/Android
Linux:- /home/AccountName/Android/Sdk
Mac:- /Library/Android/Sdk
  •  Ctrl+Alt+S 
  •  File->Setting  
  • Tools->Sdk Manager



I hope that help and worked  :)

-Kapil Arora-






No comments:

Post a Comment