官术网_书友最值得收藏!

Updating the API sources

The SDK manager and related tools come bundled with the ADT package; they provide access to the latest and most stable APIs, Android emulator images, and various debugging and application testing tools. The following walkthrough shows you how to update your APIs and other Android development-related resources.

How to do it...

Updating the APIs for your ADT works as follows:

  1. Navigate to the SDK manager. If you're doing this all from Windows, you should find it in the root of the ADT-bundle folder called SDK Manager.exe. Ubuntu users will find it at [path to ADT-bundle]/sdk/tools/android.
  2. All you need to do is launch the SDK manager. It should start up and begin retrieving a fresh list of the available API and documentation packages.
    How to do it...
  3. You will need to make sure that you select the Tools package; of course, you could also select any other additional packages. A good idea would be to download the last two versions. Android is very backward compatible so you don't really need to worry too much about the older APIs and documentation, unless you're using it to support really old Android devices.
  4. You will need to indicate that you accept the license agreement. You can either do this for every single object being installed or you can click on Accept All.
  5. Once you've accepted the licenses, you can collect your documentation and APIs by clicking on Install as shown in the following screenshot:
    How to do it...
主站蜘蛛池模板: 庆城县| 庄河市| 永胜县| 乐亭县| 如东县| 奉化市| 永仁县| 汝阳县| 准格尔旗| 松阳县| 义乌市| 迁西县| 仙居县| 青铜峡市| 那曲县| 上杭县| 康马县| 桦甸市| 龙山县| 潞城市| 芷江| 内黄县| 屏山县| 开远市| 台东市| 青龙| 饶阳县| 桐庐县| 清新县| 富民县| 雷山县| 鄂温| 焉耆| 西贡区| 淮阳县| 竹溪县| 昌乐县| 长兴县| 辽阳市| 清水河县| 团风县|