Click here to Skip to main content
15,880,854 members
Articles / Mobile Apps / Android

Setting Up Your Android Development Environment

Rate me:
Please Sign up or sign in to vote.
4.75/5 (3 votes)
5 Aug 2014CPOL4 min read 15.1K   10   4
This article will be on the new IDE for Android from Google. It is a sampler approach more dedicated development environment for the Android operation system

Introduction

This article will be on the new IDE for Android from Google. It is a sampler approach more dedicated development environment for the Android operation system. Unlike the multipurpose IDE like "Eclipes". So it promise the users an easier setup and organization of the projects files. Letting new developers on the market and give them more focus on the development part. Let us list some of the top features.

Android Studio offers to be flexible clean build system when it comes to the files of your project creation. Capable of building to all the Android viren and platform. Can Expanded template support for Google Services and various device types. With a rich layout editor vary good code editor and user graphic interface. Lint tools to catch performance, usability, version compatibility, and other problems. With built-in support for Google Cloud Platform. Making it easy to integrate Google Cloud Messaging and App Engine. "Note here it is in its BETA version" .

Setting Up Your Android Development Environment

Let us get started we highly recommend that you have the JAVA JDK 1.6 or 1.7 installed on your PC. If not go to this page on the oracle website and get it (http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html)

Image 1

By clicking on the agreement at the top and then choosing the right version for your OS "operation system" you can get your OS by going to your start menu then right click computer then click properties. (like the image )

Image 2

On the JAVA page clink your choice of JAVA and save it like so:

Image 3

Then run your new downloaded file (go with the wizard step by step):

Image 4

Image 5

Image 6

With this you will be done. And read to get "Android Studio" from this website (http://developer.android.com/sdk/installing/studio.html ) something like this :

Image 7

The page will guess your operation system and show a button to download the right one for all you have to do is click on it to start the download do save it on your PC.

Image 8

You need to agree on the terms ..

Image 9

Once you are done with the download run the file as administrator

Image 10

On the "Android Studio" it will show the installation steps take a look if you like to but we will do what is needed to get you started here :

Image 11

Running the "Android Studio" wizard then go with the stepes :

Image 12

Image 13

Image 14

Image 15

Image 16

Image 17

You are done and ready to run "Android Studio" or are you . go to the start menu and click on the "Android Studio" icon . you will get this message.

Image 18

This is not that you haven’t the JAVA JDK . but rather it that it is not mapped to your system so what you need to do is (go thee star and write "adva" and click on the "View advanced system settings"):

Image 19

This will be shown :

Image 20

Click on the "Environment Variables" :

Image 21

Then click on the "New…" under the System variables this will be shown :

Image 22

Just to check that you have JAVA install in the same folder on your PC go to this folder if so make the new variables:
Image 23

Ohhh …. Almost there … now run the "Android Studio" but remember run it as administrator by right clicking on the "Android Studio" then clicking on "Run as administrator" if all is right this will show :

Image 24

Just click on the "OK" to start it

Image 25

Image 26

The Studio will check if it need to updates go with it by clicking "Update and Restart

Image 27

Image 28

We do recommend you to do one step before we go to the "hello world" project and this is downloading the needed SDK needed by the Studio by click on the configuration on the home page :

Image 29

Then click the SDK manager :

Image 30

The system will check and show you all your needed files to download and install like this :

Image 31

Image 32

Do Accept and install the manager will do all the work for you .

Image 33

The manager will take it time downloading and installing the needed SDK ‘s once it done we will start a new project :

By clicking the New Project on the home page of the Studio :

Image 34

Work with the step listed here

Image 35

Image 36

Image 37

Image 38

Image 39

It will think about it for some time.

And then it will open the project with the files build for you on the left side and your work place on the right side but on top there will be a tip for you to read :

Image 40

Close it to start with the Studio :

Image 41

You need to check on the SDK needed and this is one of them

Image 42

Once it is done restart the studio it will download some needed files to run

Now you need to add a simulator to the Studio let’s do one click on this icon

Image 43

This the window to make it Click on the "Create.."

Image 44

Add this fata to the fields

Image 45

Image 46

Or you can use one of the built it

Image 47

The here you go . the project is ready for you to test.

Have a good time ..

Points of Interest

  • Have a good internet connection all the time the Android studio needs to download a lot of files.
  • Run the Android studio as Administrator all the time and it will work with you.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Business Analyst sfh
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionGradel failed to sync Pin
Andres Cassagnes7-Aug-14 2:17
Andres Cassagnes7-Aug-14 2:17 
AnswerRe: Gradel failed to sync Pin
Debabrata_Das11-Aug-14 19:02
professionalDebabrata_Das11-Aug-14 19:02 
Questionandroid studio Pin
Member 109948025-Aug-14 22:15
Member 109948025-Aug-14 22:15 
AnswerRe: android studio Pin
Ranjan.D6-Aug-14 16:36
professionalRanjan.D6-Aug-14 16:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.