如何在Eclipse(ADT)中更新可用的Android API

时间:2014-11-04 09:08:31

标签: java android eclipse api adt

我正在尝试在eclipse中更新我的API级别选择。目前,我能达到的最高价是API 19:

-

API Availability

我有兴趣从5.0开始并将其作为我的目标API,但我似乎无法将其作为可用选项。

我尝试通过帮助更新eclipse - >检查更新,但没有看到任何新的。

目前,我通过eclipse使用ADT(见下图)

-

Android ADT

我确信这是一件非常简单的事情,但我可以告诉我在哪里可以找到更新,以便我可以开始使用玻璃API,可穿戴设备和棒棒糖这样的东西?是否有一个我没见过的更新部分?谢谢大家!

1 个答案:

答案 0 :(得分:0)

更新eclipse的步骤

 1. Download eclipse from the official site
 2. Download and install jdk latest version
 3. After installing the eclipse , Go to  Help > Install New Software.
 4. Click Add, in the top-right corner.
 5. 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/
 6. Click OK.
 7. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
 8. In the next window, you'll see a list of the tools to be downloaded. Click Next.
 9.Read and accept the license agreements, then click Finish.
 10. If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
 11. When the installation completes, restart Eclipse.

重新启动eclipse后,转到android sdk manager。

现在您将看到所有Android版本和工具