8 June 2014

Make a Android Application with a simple Eclipse ? ( Part - 2 )

Continued from Part - 1
Step 1:
Download the sdk tools from here .
Scroll down the page a little bit then Click on DOWNLOAD FOR OTHER PLATFORMS .

Under the table of Sdk Tools Only click on the zip file related to your operating system .

Step 2 :
Accept the license agreement and click Download button .

Step 3 :
After you have downloaded the zip file Extract it with Winrar .
The contents in the extracted folder  for windows are shown in the below screenshot .
sdk folder

Note : For Mac book the folders in sdk folder are shown in the below screenshot .

Step 4 :
Click on SDKManager.exe for Windows for Opening SDK Manager .
For Mac Book go into tools folder and click on Android for opening Android SDK and AVD Manager
sdk manager

Step 5 :
The window opened is SDK Manager (Windows) .
Note : Sort by repository
repository tick

For Mac select the options Avaliable packages and double-click Android Repository and then the SDKManager will open .
android repository

Step 6 :
Choose the following options to Tick ( You can choose all of the options but it will take more time to download ) .

  1. SDK PlatformAndroid 2.2, API level 8 ,revision 2 ( under Android Repository )
  2. Google APIs, API level 8,revision 2 (  under Google Inc .....)
Note : select the same API level and revision level for  SDK PlatformAndroid and Google APIs.

And Click on Install 2 Packages .

Step 7 :
Accept license and click on Install .
accept license

Step 8 :
The downloading will start ......Restarting the ADB
Now go in the sdk folder again and click on AVDManager.exe
restart adb

For Mac a prompt will occur to restart the adb click yes and then close the smaller window and then click Virtual devices shown in screenshot below .
click yes

Step 9 :
For Windows Click on New and Specify a name , Device , Target API - 8 , CPU , Keyboard , Memory etc.. of your choice .
check all
For Mac in Virtual Devices click New Specify name, target , memory , API - 8 for your device and click Create AVD .
same for mac

Step 10 :
Now open your Eclipse and choose a workspace of your choice and click OK.
choose workspace

Step 11 :
Click on Window -> Preferences in Windows
Click on Eclipse -> Preferences in MacBook
eclipse preferences

Step 12 :
Choose Android in the left Panel and enter the location of sdk folder by clicking on Browse button .
Select Android 2.2 then click apply and OK .
select version

Step 12 :
Now you can make a new project by following the post previously posted
Now you are ready with Eclipse + SDK = ADT .
Follow the previous post of setting the adt part - 1 from Step 5 to make a new Android Project .

Stay tuned with Made In Android

Previous Page Next Page Home

No comments:

Post a Comment