How To Setup Android in Computer or
Get Started Developing for Android with Eclipse
1. Download & Install
2. Downloading Eclipse Software
Although there are lot of IDE out there Eclipse is recommended IDE which will give you best support for Android app development.
You can download Eclipse IDE from here
3. Installing Android Development Toolkit (ADT) plug-in
a. Open Eclipse s/w and under Help -> Install New Software…
b. Now you will see a window which allows you to install new plug-in
c. Click on Add button and in Name and in Location give the link
b. Now you will see a window which allows you to install new plug-in
c. Click on Add button and in Name and in Location give the link
https://dl-ssl.google.com/android/eclipse/ and proceed with further
steps.
4. Installing Android API version and the source code
The
Android SDK Manager
allows you to install specific versions of
Android.
Select
→
from the Eclipse menu.
Select Available packages and open the Third Party Add-ons. Select the latest Google API (highest number) of the SDK and press the button.
If you dont have internet you can install offline..
you just follow same step:
1.Download latest API Packges
all links here,
Download Developer Tools
SDK Platform API - 17
~\..\android-sdk-windows\platforms\android-17\ (Unzip files)
Android SDK-17_r02.zip
Google API for Maps
~\..\android-sdk-windows\add-ons\ (Unzip files)
Google API-17 Rev_03.zip
Samples for SDK - 17
~\..\android-sdk-windows\samples\android-17\ (Unzip files)
samples-17_r01.zip New
ARM EABI v7a System Image
~\..\android-sdk-windows\system-images\android-17\( Unzip files)
Armeabi-v7a_r02.zip
Intel System Image
~\..\android-sdk-windows\system-images\android-17\( Unzip files)
Sysimg_x86-17_r01.zipMIPS System Image
~\..\android-sdk-windows\system-images\android-17\( Unzip files)
Sysimg_mips-17_r01.zipSources for Android SDK API - 17
~\..\android-sdk-windows\sources\android-17\ (Unzip files)
Sources-17_r01.zip New
Docs for Android SDK API - 17
~\..\android-sdk-windows\docs\ (Unzip files)
Docs-17_r02.zip
2.go to your android installtion folder..in my case..
C:\Program Files\Android\android-sdk
3.Create temp name folder..
4.Copy all Download files in this folder
5.Than click on install Packges..sdk install all packages for you..
5. Creating Sample Project
Creating a sample android project involves very few steps
a. In your Eclipse IDE go to File -> Android Project
b. Give Project Name, Select Build Target, Application Name, Package Name, Activity Name, Min SDK version and click Finish
b. Give Project Name, Select Build Target, Application Name, Package Name, Activity Name, Min SDK version and click Finish
c. Now you can see bunch of files created in the project explorer.
6. Creating New Android Virtual Device (AVD)
The AVD is an emulator which provides you android hardware and software environment to test application on computer.
a. In Eclipse open SDK Manager under Windows -> Android SDK and AVD Manager
b. Click on New on the right side.
c. Give Name, Select Target give SD Card size and click on Create AVD.
d. Now a new AVD is created with the specification you provided and Close the Android SDK and AVD Manager
7. Running the Project
Once you successfully created AVD you are ready to test your application.
a. Right Click on the project in Package Explore and click on Run As -> Android Application.
b. Now you can see an AVD is opened and booting up.( It will take much time to launch AVD for the first time)
c. Once the AVD started you can see the output on the AVD screen.
tag:android,how to setup android in pc, Get Started Developing for Android with Eclipse,trikes,tip,windows.
No comments:
Post a Comment