Skip to content

Commit ec0d6eb

Browse files
committed
Adds Installation Guide
1 parent 8a6c9ce commit ec0d6eb

File tree

6 files changed

+81
-0
lines changed

6 files changed

+81
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

AndroidInstallation.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# Android Studio Installation
2+
3+
4+
## Why Android development?
5+
6+
There are over 1 billion android devices active and 2.2 millions android apps on play store today.Android represents an incredible opportunity for developers. Also Android studio is a latest and most widely used IDE designed by Google itself.So if you want to develop apps in android then it is highly recommended to use Android Studio.
7+
8+
## Quick Overview
9+
10+
An android app is written in XML for the frontend UI and JAVA for the backend.
11+
12+
All the backend part is done using Java. But now, Kotlin Language is declared for Official by Google for Android development.Although it’s not a big deal to switch to Kotlin as If you know any object oriented programming language, then it will not be much difficult to relate to the concepts used during development. In short if you know C++ then also you are at peace.
13+
14+
The frontend part is done using XML. All user interface elements in an Android app are built using View and ViewGroup objects.
15+
16+
## Installation of Android Studio
17+
18+
JDK and JRE are essential for JAVA to run on your machine.
19+
20+
### For Linux Users :
21+
22+
#### Installing JAVA :
23+
24+
Open up your Terminal ( Alt + Shift + T) and follow the below commands to install JDK and JRE.
25+
26+
### Step 1: Update package list
27+
28+
`sudo apt-get update`
29+
30+
### Step 2: Install JRE and JDK
31+
32+
`sudo apt-get install default-jre default-jdk oracle-java8-installer`
33+
34+
### Step 3: Configure Java
35+
36+
`sudo update-alternatives --config java`
37+
38+
### Step 4: Set environment variable replacing YOUR_PATH with path which last command returned
39+
40+
`sudo vim /etc/environment – add JAVA_HOME="YOUR_PATH"`
41+
42+
### Step 5:
43+
44+
`source /etc/environment`
45+
46+
47+
Visit this [link](https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get) for any reference.
48+
49+
## Installing IDE
50+
51+
1. Follow this [link](https://developer.android.com/studio/index.html) and select all the packages for linux. This will download the zip file.
52+
53+
2. Extract the file.
54+
55+
3. In terminal type:
56+
`cd /{Location where you extracted the zip file}/android-studio/bin` and then `sh studio.sh`
57+
58+
This will open up the android studio. Somewhat similar to below would appear. Select configure in it.
59+
60+
![start](images/start)
61+
62+
Click on the SDK Manager icon
63+
64+
![configure](images/configure)
65+
66+
Now the below window will appear. Install the ticked packages shown in the below image.
67+
68+
![sdk](images/sdk)
69+
70+
71+
72+
73+
74+
75+
76+
77+
78+
79+
80+
81+

images/.DS_Store

6 KB
Binary file not shown.

images/configure.png

82.3 KB
Loading

images/sdk.png

459 KB
Loading

images/start.png

228 KB
Loading

0 commit comments

Comments
 (0)