1
4

6 回答 6

2

I am using Eclipse Helios. Download Eclipse IDE for Java Developers from here & update it latest packages by goto to menu Help -> Check for new updates.

Download & install Android SDK.

To install ADT Plugin:

  1. Start Eclipse, then select Help > Install New Software.... Click Add, in the top-right corner.
  2. 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/

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

  4. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  5. In the next window, you'll see a list of the tools to be downloaded. Click Next.
  6. Read and accept the license agreements, then click Finish. Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
  7. When the installation completes, restart Eclipse.
于 2012-08-09T06:06:49.537 回答
1

Procedure to work with android in Eclipse juno is :

Step 1: Install jdk-7 version and then Install installer_r16-windows.exe

Step 2: now unzip the android-sdk and paste it into disk c android folder and replace all.

Step 3: now unzip the eclipse-juno.

Step 4: open eclipse ide and go to the help option and click on new software install option.

Step 5: click on archive and give the path to ur ADT-20.0.3 or any version and choose restart eclipse option.

Step 6: now two green button will be displayed on the left most upper side of eclipse.

Step 7: first click on small arrow type button and see all the packages are installed if not choose install package.

Step 8: now click on second big green button named AVD i.e android virtual device.

Step 9: click on new and configure ram and all u want in your AVD.

Step 10: your AVD is on screen now.

于 2013-01-08T10:14:45.020 回答
0

(Using the comments to provide an answer)

Try using the latest version of Eclipse (Juno), or at least Eclipse Indigo. The newer version of the Android Framework might have dependencies that the latest versions of Eclipse provide.

If this is incorrect / doesn't work, let us know so we can update the solution.

于 2012-08-09T05:13:29.727 回答
0

You didn't install ADT plugins yet or something goes wrong.

Download ADT-20 form HERE

In eclipse goto--> Help --> Install new Software --> Select ADT-20.zip

For step-by-step instruction HOW TO INSTALL ANDROID see this

于 2012-08-09T05:14:02.887 回答
0

As per your given error it is sure an version problem.. you might be trying to add ADT whose version is below ADT-20 and your ecllips is asking for ADT-20..so try to provide link which contains ADT version 20. If still problem exists go to : http://developer.android.com/sdk/installing/installing-adt.html there they have also given download for ADT-20.zip file download it and install it manually.

于 2012-08-09T05:48:26.403 回答
0

I had the same problem, I installed Eclipse Indigo and it worked perfect... because it's version 3.7.2 so it should be working fine with this.

于 2012-08-09T12:25:07.140 回答