Sei sulla pagina 1di 28

Open JavaAnd folder Double click on jdk-6u11-windows-i586-p.

exe

Installing JSK1.6

Following screen will appear

Click on Accept

Click Next Installation will start

Following screen will appear after completion

Click on next Installation will start with the following screen

Following window will appear after completion

Click on finish A Registration screen may appear in browser like:

You can close it without doing anything. Setting up the Environment varibales Right click on my computer

Following screen will appear

Click on properties Following screen will appear

Click on advance tab, the following screen will appear:

Click on Environment Variables, the following screen will appear

Select the Path and click on Edit As given below:

The following screen will appear

Click on variable value option and move to end. Note: Without deleting anything. Write down the following values at the end.

; C:\Program Files\Java\jdk1.6.0_11\bin;.;

Click on ok Again you will be on the following screen:

Find out if CLASSPATH variable is already available. If Available: Select it and click on Edit Move to end Paste the following

; C:\Program Files\Java\jdk1.6.0_11\lib;.;
If NOT available Click on New as below.

The following screen will appear

Type as below:

Click on ok You will be back on below screen

Click on ok The following screen will come

Click on ok Test your environment Click on start

click on run

A run box will appear, write cmd in it as below:

Click ok Command prompt will appear as below:

Write java and press enter, the following screen will appear

Now write javac and press enter, if the following screen appears

Then everything is correct till now if not something went wrong some were. Check your path settings etc.

Install Eclipse Opne JavaAnd Folder Copy and paste the following folder where you want to use eclipse-jee-helios-SR2-win32. Like in c:\ etc.

Eclipse is ready to use. To run double click the following icon available inside

Following screen will appear

After some time the following

Change the location of your work space if you want. Like d:\yourname\workspace It would create yourname folder and workspace folder automatically. And will keep all your projects inside this workspace folder.

Install SDK Open the folder JavaAnd\android-sdk-windows Double click on SDK Manager.exe icon

The following screens may appear one after another

then

Click on install Installation will start with the following screen (You need to wait here it will take some time in installation)

If following message appears in between:

Then
1. Solution: 2. Go inside the JavaAnd\android-sdk-windows folder 3. Copy and paste tools folder(it will create copy of tools folder keeping it at the same directory tree level, thus "tools" and "tools-copy" both will be in the "android-sdk-windows" folder). 4. 5. Run Android.bat from that copy 6. It will update without problems (it updated the original, 7. not-being-used-at-the-moment tools folder, among whatever other items it needed to). 8. 9. - close the SDK, deleted the folder (need to kill the adb.exe process first - you can't delete the folder without doing that). 10.

11. - I restarted the SDK from the normal (now-updated) tools folder. Worked like a charm!

After finishing the installation close all.

Step 1. Preparing Your Development Computer


1. install JDK 1.6 (from JavaAnd folder) 2. Install eclipse(from JavaAnd folder)

Step 2. Downloading the SDK Starter Package Step 3. Installing the ADT Plugin for Eclipse
Android offers a custom plugin for the Eclipse IDE, called Android Development Tools (ADT), that is designed to give you a powerful, integrated environment in which to build Android applications. It extends the capabilites of Eclipse to let you quickly set up new Android projects, create an application UI, debug your applications using the Android SDK tools, and even export signed (or unsigned) APKs in order to distribute your application. In general, developing in Eclipse with ADT is a highly recommended approach and is the fastest way to get started with Android.

1. Start Eclipse, then select Help > Install New Software.... 2. Click Add, in the top-right corner. 3. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/

Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).

Click OK. 4. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.

5.

6. After some time it would be

7.

8. 9. In the next window, you'll see a list of the tools to be downloaded. Click Next.

10.

11. 12. Read and accept the license agreements, then click Finish.

13. When the installation completes, restart Eclipse. 14.

Configuring the ADT Plugin


Once you've successfully downloaded ADT as described above, the next step is to modify your ADT preferences in Eclipse to point to the Android SDK directory: 1. Select Window > Preferences... to open the Preferences panel. 2. Select Android from the left panel. 3. For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory. [JavaAnd\android-sdk-windows] 4. Click Apply, then OK. Done! If you haven't encountered any problems, then the installation is complete.

Create an AVD
To create an AVD: 1. In Eclipse, choose Window > Android SDK and AVD Manager. 2. Select Virtual Devices in the left panel. 3. Click New. The Create New AVD dialog appears. 4. Type the name of the AVD, such as "my_avd". 5. Choose a target. The target is the platform (Android 2.1 update1 API Level 7 ) you want to run on the emulator. You can ignore the rest of the fields for now. 6. Click Create AVD 7. Close the window Andrid SDK and AVD Manager 8.

Potrebbero piacerti anche