Saturday, 23 April 2016

Install Android studio


Hi, let's move forward to the next step now. With reference to my last blog where we downloaded android studio, now lets install it and start developing some interesting android applications.

After downloading the Android Studio, first thing which you have to do is verify which version of the JDK you have:-
Open your command line and type javac -version.


If the JDK is not available or the version is lower than 1.8, download the Java SE Development Kit 8.


To install Android Studio on Linux, proceed as follows:

  • Unpack the .zip file you downloaded to an appropriate location for your applications, such as within  "/usr/local/" for your user profile, or  /opt/  for shared users.
  • To launch Android Studio, open a terminal, navigate to the android-studio/bin/ directory, and execute studio.sh.
  • Select whether you want to import previous Android Studio settings or not, then click OK.
  • The Android Studio Setup Wizard guides you though the rest of the setup, which includes downloading Android SDK components that are required for development. Tip: Add android-studio/bin/ to your PATH environment variable so you can start Android Studio from any directory.

To install Android Studio on Windows, proceed as follows:
  • After downloading the package, launch the .exe file to your PC from the Android Studio home page.
  • Follow the instructions on the setup wizard to install Android Studio.
  • If asked to point to where Java is installed, you need to set an environment variable in order to direct the installer to the proper location. To do that, select Start menu > Computer > System Properties > Advanced System Properties. From there you’ll open the “Advanced” tab and click “Environment Variables.” Here you’ll add a new system variable titled JAVA_HOME that points to your JDK folder.
For example:-     " C:Program Files\Java\jdk1.7.0_21 "
The actual tools and other SDKs packages are stored outside of the directory that contains Android Studio.


To install Android Studio on Mac OS, proceed as follows:
  • Download the installer to your PC and launch the .dmg  file from the Android Studio home page.
  • Drag and drop the .dmg into your Applications folder.
  • Open Android Studio and follow the instructions from the setup wizard.
If you get a warning saying that the file is damaged and should be moved to the trash, go to System Preferences > Security & Privacy and under the “Allow applications downloaded from” section select “Anywhere.” From here you can repeat 3rd point above and install the program.

To access Android SDK tools from the command line (Finder > Applications > Utilities > Terminal):



That's it!!
As new tools and other APIs become available, Android Studio tells you with a pop-up, or you can check for updates by clicking Help > Check for Update.

Now since you have downloaded and installed Android Studio, start exploring it.
Will tell you more about android studio and its new features and some other interesting tricks to develop android applications, in my coming blogs.

And remember, Just code to make it better..!!



No comments:

Post a Comment