Click here to Skip to main content
Click here to Skip to main content

Tagged as

Setting Up Your Android Development Environment

, 5 Aug 2014 CPOL
Rate this:
Please Sign up or sign in to vote.
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)

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 )

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

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

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 :

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.

You need to agree on the terms ..

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

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 :

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

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.

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"):

This will be shown :

Click on the "Environment Variables" :

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

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:

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 :

Just click on the "OK" to start it

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

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 :

Then click the SDK manager :

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

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

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 :

Work with the step listed here

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 :

Close it to start with the Studio :

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

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

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

Add this fata to the fields

Or you can use one of the built it

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)

Share

About the Author

Member 8470129
Business Analyst sfh
United States United States
No Biography provided

Comments and Discussions

 
QuestionGradel failed to sync PinmemberAndres Cassagnes7-Aug-14 3:17 
AnswerRe: Gradel failed to sync PinprofessionalDebabrata_Das11-Aug-14 20:02 
Questionandroid studio PinmemberMember 109948025-Aug-14 23:15 
AnswerRe: android studio PinmvpRanjan.D6-Aug-14 17:36 

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

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

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141223.1 | Last Updated 5 Aug 2014
Article Copyright 2014 by Member 8470129
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid