Follow Below steps to install the java and android studio in your system, to get start with android application.
- Download and install Java
- Set the environment path for java
- Install Android Studio
- Create a virtual device
Download and Install Java
Select the JDK for your operating system. In most case if you have machine purchased in the last few years, You should choose the X64 (64- bit) Version
Accept the license agreement to download and locate the file , and double click it to begin the installation process.
Set the environment path for Java
Go to run command and type environment variable, and select “edit the system environment variable”.
Here click on environment variable button then you will get dialogue box , in that click on new button in system variables field.
Enter JAVA_HOME in the variable name box, and the path to your Java installation in the Variable value box.It will be something similar to what is listed in the image.
And click OK button , Now you successfully installed java JDK and sets the environment path.
Install Android Studio
Navigate to Android Developer Site to install Android studio. This page will automatically detect your operating system.
Here download the Android Studio and Accept the terms and condition to start download. Double – click the downloaded file and follow all the prompts.
we use android studio because it’s having many features when comparing to eclipse . Here we no need to download Software development Kit . After installing Android Studio the SDK file will start to install automatically when opening the android studio.
Later when opening the tool, select the following SDK and tool as you need.
we are building for Android 4.4.2 . So make sure that, the following packages are checked under the tool section
- Android SDK tool rev 22.6.3
- Android Platform – tool rev 19.0.1
- Android SDK Build -tool rev 19.1
Check these under the Android 4.4.2 (API 19) Section
- Intel x86 Atom System Image
- Google API (X86 System Image)
And Check these under the Extras Section :
- Android Support Repository
- Android Support Library & Click install
Accept the licences that appear for each section to enable Download.
Creating A Virtual Device
Open Android Studio & click AVD Manager in the toolbar. AVD allow us to test and run our Android apps.
If you want any other , click create Virtual Device Button and select any other virtual device and click next.
Then, You should now see the AVD .You created in the AVD Manager , where you can start it, delete it, or create another one !.