From 3dec7d563a2f3e1eb967ce2054a00b6620e3558c Mon Sep 17 00:00:00 2001
From: The Android Open Source Project This SDK includes some awesome stuff. The following systems and development environments are supported by this SDK. Note: If JDK is already installed on your development computer, please take a moment to make sure that it meets the version requirements listed above. In
-particular, note that some Linux distributions may include JDK 1.4 or Gnu Compiler for Java, both of which are not supported for Android development. The SDK includes a variety of tools for developing and debugging application code and designing
+an application UI. You can read about the tools in the documentation included with the SDK.
+You can access the tools in the The Android system images listed below are included in this SDK. You can look at a variety of tutorials and samples in the
+documentation included with the SDK and access the sample code itself
+in the The SDK package provides a full set of local documentation, including installation and upgrade
+instructions. To view it, open the For the current SDK release, see the links under Current SDK Release in the side navigation. This page describes how to install the Android SDK and set up your development environment. If you haven't
-downloaded the SDK yet, follow the link below. This page describes how to install the Android 1.0 SDK, Release 1, and set up your development environment.
+If you haven't downloaded the SDK yet, you can so from the Download page. Before you begin, be sure that your development environment meets the SDK
+System Requirements. If you encounter any problems during installation,
+see the Installation Notes at the bottom of this page. Before you begin, be sure that you're development environment meets the SDK
-System and Software Requirements. If you have already developed applications using an earlier version of the
SDK, please skip this page and read the
-Upgrading the SDK document.
+Upgrading the SDK document instead.
After downloading the SDK, unpack the .zip archive to a suitable location on your machine. By default, the SDK files are unpacked into a directory named After downloading the SDK, unpack the .zip archive to a suitable location on your machine. By default, the SDK files are unpacked into a directory named Make a note of the name and location of the unpacked SDK directory on your system — you will need to refer to the SDK directory later, when setting up the Android plugin or using SDK tools. Adding If you'll be developing with the Eclipse IDE, follow the following procedure to setup the IDE
-to use the Android SDK. Basically, you just need to update your Eclipse preferences to point to the Android SDK directory: If you will be using the Eclipse IDE as your environment for developing Android applications, continue reading the next
+section in order to install the Android Development Tools plugin and setup Eclipse. If you choose not to use Eclipse, you can
+develop Android applications using other tools — read the guide to developing
+In other IDEs. First, you should install a custom plugin called Android Development Tools (ADT), which adds integrated support for Android projects and tools. The ADT plugin includes a variety of powerful extensions that make creating, running, and debugging Android applications faster and easier. Developing in ADT/Eclipse is highly recommended for Eclipse users and those new to Android. To download and install the ADT plugin, follow the steps below for your respective Eclipse version. Alternatively, you can use http in the Location URL, if you are having
+ trouble with https (https is preferred for security reasons). Click OK. Alternatively, you can use http in the Location URL, if you are having
+ trouble with https (https is preferred for security reasons). Click OK. Now, you just need to modify your Eclipse preferences to point to the Android SDK directory:Included in this SDK
-System and Software Requirements
-
-Supported Operating Systems:
-
-
-
-Supported Development Environments:
-
-
-
-
-
-
-
-
-
- Development tools
+
+<sdk>/tools/ directory.System Images
+
+
+
+
+
+
+
+Notes Description
+
+
+
+
+1
+
+Includes the {@code com.google.android.maps} external library and a set of standard development
+applications.
+
+Sample Code and Applications
+
+<sdk>/samples/ directory of the SDK package.Documentation
+
+<sdk>/documentation.html file in a web browser.
+If you are developing in an IDE such as Eclipse, you can also view the reference documentation
+directly in the IDE. Upgrading?
Installing the SDK
- android_sdk_<platform>_<release>_<build>. The directory contains the subdirectories tools/, samples/, and others. android_sdk_<platform>_<release>_<build>. The directory contains a link to a local copy of the documentation and the subdirectories tools/, samples/, and others. tools to your path lets you run Android Debug Bridge (adb) and the other command line tools without needing to supply the full path to the tools directory. Note that, if you update your SDK, you should remember to update your PATH settings to point to the new location, if different.Setting up Eclipse
-Setting up Eclipse
+
+
+
+
+
+
+Eclipse 3.3 (Europa) Eclipse 3.4 (Ganymede)
+
+
+
+
+
+
+https://dl-ssl.google.com/android/eclipse/
+ http://dl-ssl.google.com/android/eclipse/
+
+
+
+
+
+
+https://dl-ssl.google.com/android/eclipse/
+ http://dl-ssl.google.com/android/eclipse/
+
Done! We now recommend that you install the ADT Eclipse plugin, which will provide some much-appreciated assistance in developing Android apps with Eclipse...
- -Done! If you haven't encountered any problems, then you're ready to begin developing Android applications. +We recommend you begin with the Hello World tutorial, +which will teach you some basics about Android applications and how to create projects using Eclipse.
-If you will be using the Eclipse IDE as your environment for developing Android applications, you can install a custom plugin called Android Development Tools (ADT), which adds integrated support for Android projects and tools. The ADT plugin includes a variety of powerful extensions that make creating, running, and debugging Android applications faster and easier. This plugin is highly recommended for Eclipse users.
-If you will not be using the Eclipse IDE, you do not need to download or install the ADT plugin.
++If you are having trouble downloading the ADT plugin after following the steps above, here are some suggestions:
-Follow this guide to install the ADT Plugin
+http://dl-ssl.google.com/android/eclipse/
+If you are still unable to use Eclipse to download the ADT plugin as a remote update site, you can download the ADT files to your local machine using a browser and the install the files in Eclipse from there: +
++Note that to update your plugin, you will have to follow these steps again instead of the default update instructions.
+ +Note that the "Android Editors" feature of ADT requires several optional +Eclipse components (for example, WST). If you encounter an error when +installing ADT, your Eclipse installion might not include those components. +For information about how to quickly add the necessary components to your +Eclipse installation, see the troubleshooting topic +ADT Installation Error: "requires plug-in org.eclipse.wst.sse.ui".
+ +If you encounter this error when installing the ADT Plugin for Eclipse: +
+An error occurred during provisioning. +Cannot connect to keystore. +JKS+
+...then your development machine lacks a suitable Java VM. Installing Sun +Java 6 will resolve this issue and you can then reinstall the ADT +Plugin.
A high-level look at what's changed in Android, with - discussion of how the changes may affect your apps.
A detailed report that lists all the specific changes in the latest SDK.
Version details, known issues, and resolved issues.
A forum where you can discuss migration issues and learn from other Android developers.
If you think you may have found a bug, use the issue tracker to report it.
For the current SDK release, see the links under Current SDK Release in the side navigation.
This guide will help you migrate your development environment and applications -to the latest version of the SDK. Use this guide if you've been developing applications -on a previous version of the Android SDK. -
+to version 1.0, release 1, of the Android SDK. Use this guide if you've been developing applications +on a different version of the Android SDK.To ensure that your applications are compliant with the Android 1.0 system available on mobile devices, you need to install the new SDK and port your existing Android @@ -39,9 +14,7 @@ applications to the updated API. The sections below guide you through the proces
Download the SDK and unpack it into a safe location.
- -After unpacking the new SDK, you should:
+After unpacking the SDK, you should:
Some data formats have changed since the last @@ -60,27 +33,58 @@ applications to the updated API. The sections below guide you through the proces
If you develop on Eclipse and are using the ADT plugin, follow these steps to install the new plugin that accompanies the latest SDK.
+If you develop on Eclipse and are using the ADT plugin, follow these steps to install the +plugin that's required for this version of the SDK.
| Eclipse 3.3 (Europa) | Eclipse 3.4 (Ganymede) | |
|---|---|---|
| + |
|
+
|
To support signing, you should first make sure that Keytool is available to the SDK build tools. In most cases, you can tell the SDK build tools how to find Keytool by making sure that @@ -133,10 +137,7 @@ to place 3rd jar files, which are now automatically handled by the Ant script. framework and API changes. You'll need to update your code to match changes in the Android APIs.
One way to start is to open your project in Eclipse and see where the ADT -identifies errors in your application. From there, you can lookup -respective changes in the -Overview of Changes -and API Diffs Report.
+identifies errors in your application.If you have additional trouble updating your code, visit the Android Developers Group @@ -144,8 +145,4 @@ to seek help from other Android developers.
If you have modified one of the ApiDemos applications and would like to migrate it to the new SDK, note that you will need to uninstall the version of ApiDemos that comes -preinstalled in the emulator. For more information, or if you encounter an "reinstallation" -error when running or installing ApiDemos, see the troubleshooting topic -I can't install ApiDemos -apps in my IDE because of a signing error for information about how to solve the problem.
- +preinstalled in the emulator. diff --git a/docs/html/sdk/1.0_r2/index.jd b/docs/html/sdk/1.0_r2/index.jd index 6fbca6dc8f8a..2446c0913ac5 100644 --- a/docs/html/sdk/1.0_r2/index.jd +++ b/docs/html/sdk/1.0_r2/index.jd @@ -22,43 +22,44 @@ sdk.linux_checksum=a1f3b6d854596f850f5008856d0f380eThis SDK includes some awesome stuff.
- - -The following systems and development environments are supported by this SDK.
- -Note: If JDK is already installed on your development computer, please take a moment to make sure that it meets the version requirements listed above. In -particular, note that some Linux distributions may include JDK 1.4 or Gnu Compiler for Java, both of which are not supported for Android development.
\ No newline at end of file +The SDK includes a variety of tools for developing and debugging application code and designing
+an application UI. You can read about the tools in the documentation included with the SDK.
+You can access the tools in the <sdk>/tools/ directory.
The Android system images listed below are included in this SDK.
+ +| Notes | Description | +||
|---|---|---|---|
| 1 | +Includes the {@code com.google.android.maps} external library and a set of standard development +applications. | + +
You can look at a variety of tutorials and samples in the
+documentation included with the SDK and access the sample code itself
+in the <sdk>/samples/ directory of the SDK package.
The SDK package provides a full set of local documentation, including installation and upgrade
+instructions. To view it, open the <sdk>/documentation.html file in a web browser.
+If you are developing in an IDE such as Eclipse, you can also view the reference documentation
+directly in the IDE.
For the current SDK release, see the links under Current SDK Release in the side navigation.
-This page describes how to install the Android SDK and set up your development environment. If you haven't -downloaded the SDK yet, follow the link below.
+This page describes how to install the Android 1.0 SDK, Release 2, and set up your development environment. +If you haven't downloaded the SDK yet, you can so from the Download page.
- +Before you begin, be sure that your development environment meets the SDK +System Requirements. If you encounter any problems during installation, +see the Installation Notes at the bottom of this page.
-Before you begin, be sure that you're development environment meets the SDK -System and Software Requirements.
- -If you have already developed applications using an earlier version of the SDK, please skip this page and read the -Upgrading the SDK document. +Upgrading the SDK document instead.
-After downloading the SDK, unpack the .zip archive to a suitable location on your machine. By default, the SDK files are unpacked into a directory named android_sdk_<platform>_<release>_<build>. The directory contains the subdirectories tools/, samples/, and others.
After downloading the SDK, unpack the .zip archive to a suitable location on your machine. By default, the SDK files are unpacked into a directory named android_sdk_<platform>_<release>_<build>. The directory contains a link to a local copy of the documentation and the subdirectories tools/, samples/, and others.
Make a note of the name and location of the unpacked SDK directory on your system — you will need to refer to the SDK directory later, when setting up the Android plugin or using SDK tools.
@@ -47,10 +45,86 @@ SDK, please skip this page and read theAdding tools to your path lets you run Android Debug Bridge (adb) and the other command line tools without needing to supply the full path to the tools directory. Note that, if you update your SDK, you should remember to update your PATH settings to point to the new location, if different.
If you'll be developing with the Eclipse IDE, follow the following procedure to setup the IDE -to use the Android SDK.
-Basically, you just need to update your Eclipse preferences to point to the Android SDK directory:
+ +If you will be using the Eclipse IDE as your environment for developing Android applications, continue reading the next +section in order to install the Android Development Tools plugin and setup Eclipse. If you choose not to use Eclipse, you can +develop Android applications using other tools — read the guide to developing +In other IDEs.
+ + +First, you should install a custom plugin called Android Development Tools (ADT), which adds integrated support for Android projects and tools. The ADT plugin includes a variety of powerful extensions that make creating, running, and debugging Android applications faster and easier. Developing in ADT/Eclipse is highly recommended for Eclipse users and those new to Android.
+ +To download and install the ADT plugin, follow the steps below for your respective Eclipse version.
+ +| Eclipse 3.3 (Europa) | Eclipse 3.4 (Ganymede) |
|---|---|
+
|
+
+
+
|
+
Now, you just need to modify your Eclipse preferences to point to the Android SDK directory:
Done! We now recommend that you install the ADT Eclipse plugin, which will provide some much-appreciated assistance in developing Android apps with Eclipse...
- -Done! If you haven't encountered any problems, then you're ready to begin developing Android applications. +We recommend you begin with the Hello World tutorial, +which will teach you some basics about Android applications and how to create projects using Eclipse.
-If you will be using the Eclipse IDE as your environment for developing Android applications, you can install a custom plugin called Android Development Tools (ADT), which adds integrated support for Android projects and tools. The ADT plugin includes a variety of powerful extensions that make creating, running, and debugging Android applications faster and easier. This plugin is highly recommended for Eclipse users.
-If you will not be using the Eclipse IDE, you do not need to download or install the ADT plugin.
++If you are having trouble downloading the ADT plugin after following the steps above, here are some suggestions:
-Follow this guide to install the ADT Plugin
+http://dl-ssl.google.com/android/eclipse/
+If you are still unable to use Eclipse to download the ADT plugin as a remote update site, you can download the ADT files to your local machine using a browser and the install the files in Eclipse from there: +
++Note that to update your plugin, you will have to follow these steps again instead of the default update instructions.
+ +Note that the "Android Editors" feature of ADT requires several optional +Eclipse components (for example, WST). If you encounter an error when +installing ADT, your Eclipse installion might not include those components. +For information about how to quickly add the necessary components to your +Eclipse installation, see the troubleshooting topic +ADT Installation Error: "requires plug-in org.eclipse.wst.sse.ui".
+ +If you encounter this error when installing the ADT Plugin for Eclipse: +
+An error occurred during provisioning. +Cannot connect to keystore. +JKS+
+...then your development machine lacks a suitable Java VM. Installing Sun +Java 6 will resolve this issue and you can then reinstall the ADT +Plugin.
The sections below describe the system and software requirements for developing Android applications using the Android SDK tools included in Android 1.0 SDK, Release 2.
+ +The following systems and development environments are supported by this SDK.
+ +Note: If JDK is already installed on your development computer, please take a moment to make sure that it meets the version requirements listed above. In +particular, note that some Linux distributions may include JDK 1.4 or Gnu Compiler for Java, both of which are not supported for Android development.
\ No newline at end of file diff --git a/docs/html/sdk/1.0_r2/upgrading.jd b/docs/html/sdk/1.0_r2/upgrading.jd index 168f1be288a5..df9b6579273b 100644 --- a/docs/html/sdk/1.0_r2/upgrading.jd +++ b/docs/html/sdk/1.0_r2/upgrading.jd @@ -1,37 +1,12 @@ page.title=Upgrading the SDK +sdk.version=1.0_r2 @jd:body -A high-level look at what's changed in Android, with - discussion of how the changes may affect your apps.
A detailed report that lists all the specific changes in the latest SDK.
Version details, known issues, and resolved issues.
A forum where you can discuss migration issues and learn from other Android developers.
If you think you may have found a bug, use the issue tracker to report it.
For the current SDK release, see the links under Current SDK Release in the side navigation.
This guide will help you migrate your development environment and applications -to the latest version of the SDK. Use this guide if you've been developing applications -on a previous version of the Android SDK. -
+to version 1.0, release 2, of the Android SDK. Use this guide if you've been developing applications +on a different version of the Android SDK.To ensure that your applications are compliant with the Android 1.0 system available on mobile devices, you need to install the new SDK and port your existing Android @@ -39,9 +14,7 @@ applications to the updated API. The sections below guide you through the proces
Download the SDK and unpack it into a safe location.
- -After unpacking the new SDK, you should:
+After unpacking the SDK, you should:
Some data formats have changed since the last @@ -60,27 +33,58 @@ applications to the updated API. The sections below guide you through the proces
If you develop on Eclipse and are using the ADT plugin, follow these steps to install the new plugin that accompanies the latest SDK.
+If you develop on Eclipse and are using the ADT plugin, follow these steps to install the +plugin that's required for this version of the SDK.
| Eclipse 3.3 (Europa) | Eclipse 3.4 (Ganymede) | |
|---|---|---|
| + |
|
+
|
To support signing, you should first make sure that Keytool is available to the SDK build tools. In most cases, you can tell the SDK build tools how to find Keytool by making sure that @@ -133,10 +137,7 @@ to place 3rd jar files, which are now automatically handled by the Ant script. framework and API changes. You'll need to update your code to match changes in the Android APIs.
One way to start is to open your project in Eclipse and see where the ADT -identifies errors in your application. From there, you can lookup -respective changes in the -Overview of Changes -and API Diffs Report.
+identifies errors in your application.If you have additional trouble updating your code, visit the Android Developers Group @@ -144,8 +145,4 @@ to seek help from other Android developers.
If you have modified one of the ApiDemos applications and would like to migrate it to the new SDK, note that you will need to uninstall the version of ApiDemos that comes -preinstalled in the emulator. For more information, or if you encounter an "reinstallation" -error when running or installing ApiDemos, see the troubleshooting topic -I can't install ApiDemos -apps in my IDE because of a signing error for information about how to solve the problem.
- +preinstalled in the emulator. diff --git a/docs/html/sdk/1.1_r1/index.jd b/docs/html/sdk/1.1_r1/index.jd index 7e70b6b32d18..c4a9bf0e7f63 100644 --- a/docs/html/sdk/1.1_r1/index.jd +++ b/docs/html/sdk/1.1_r1/index.jd @@ -4,16 +4,16 @@ sdk.version=1.1_r1 sdk.date=February 2009 sdk.win_download=android-sdk-windows-1.1_r1.zip -sdk.win_bytes=84533935 -sdk.win_checksum=4cec82e3d2c1658d73182e543d130a06 +sdk.win_bytes=86038515 +sdk.win_checksum=8c4b9080b430025370689e03d20842f3 sdk.mac_download=android-sdk-mac_x86-1.1_r1.zip -sdk.mac_bytes=78918508 -sdk.mac_checksum=d67fb5f0eaf4f5a83dc985f5790940c6 +sdk.mac_bytes=79046151 +sdk.mac_checksum=becf0f1763d61eedce15d2a903d6c1dd sdk.linux_download=android-sdk-linux_x86-1.1_r1.zip -sdk.linux_bytes=79219171 -sdk.linux_checksum=df88091c9f0ef6cc56cd92afcdad8d56 +sdk.linux_bytes=79345522 +sdk.linux_checksum=ebcb16b0cd4aef198b4dd9a1418efbf1 @jd:body diff --git a/docs/html/sdk/1.1_r1/installing.jd b/docs/html/sdk/1.1_r1/installing.jd index b19880048c53..d5a710648363 100644 --- a/docs/html/sdk/1.1_r1/installing.jd +++ b/docs/html/sdk/1.1_r1/installing.jd @@ -4,22 +4,43 @@ sdk.version=1.1_r1 @jd:body -This page describes how to install the Android 1.1 SDK, Release 1, and set up your development environment. -If you haven't downloaded the SDK yet, you can so from the Download page.
+This page describes how to install the Android SDK and set up your +development environment. If you haven't downloaded the SDK, you can +do so from the +Download page.
-Before you begin, be sure that your development environment meets the SDK -System Requirements. If you encounter any problems during installation, -see the Installation Notes at the bottom of this page.
+If you encounter any problems during installation, see the +Installation Notes at the bottom of +this page.
If you have already developed applications using an earlier version of the -SDK, please skip this page and read the -Upgrading the SDK document instead. +
If you have already developed applications using an earlier version +of the SDK, please skip this page and read the +Upgrading the +SDK document instead.
- - -Before you get started with the Android SDK, take a moment to confirm +that your development machine meets the system requirements. +
+ +If you will be developing on Eclipse with the Android Development +Tools (ADT) Plugin — the recommended path if you are new to +Android — make sure that you have a suitable version of Eclipse +installed on your computer. If you need to install Eclipse, you can +download it from this location:
+ +http://www.eclipse.org/downloads/
+ +A Java or RCP version of Eclipse is recommended.
+ +After downloading the SDK, unpack the .zip archive to a suitable location on your machine. By default, the SDK files are unpacked into a directory named android_sdk_<platform>_<release>_<build>. The directory contains a link to a local copy of the documentation and the subdirectories tools/, samples/, and others.
If you will be using the Eclipse IDE as your environment for developing Android applications, continue reading the next -section in order to install the Android Development Tools plugin and setup Eclipse. If you choose not to use Eclipse, you can +section in order to install the Android Development Tools plugin and set up Eclipse. If you choose not to use Eclipse, you can develop Android applications using other tools — read the guide to developing -In other IDEs.
+in other IDEs. -First, you should install a custom plugin called Android Development Tools (ADT), which adds integrated support for Android projects and tools. The ADT plugin includes a variety of powerful extensions that make creating, running, and debugging Android applications faster and easier. Developing in ADT/Eclipse is highly recommended for Eclipse users and those new to Android.
+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, add components based on the Android +Framework API, and debug using the Android SDK tools.
-To download and install the ADT plugin, follow the steps below for your respective Eclipse version.
+If you are new to Android or want to develop using the Eclipse IDE, +the ADT plugin will be an essential part of your development +environment. In general, using Eclipse with ADT is a highly recommended +approach and is the fastest way to get started. This section describes +how to install ADT into your Eclipse environment. + +
If you prefer to work in a development environment other than Eclipse, +you do not need to install Eclipse or the ADT Plugin. Instead, you can +access the SDK tools directly to build and debug your application.
+ +Once you have Eclipse installed, as described in +Preparing for Installation, follow the steps below to +download the ADT plugin and install it in your respective Eclipse +environment.
| Eclipse 3.3 (Europa) | Eclipse 3.4 (Ganymede) |
|---|
Now, you just need to modify your Eclipse preferences to point to the Android SDK directory:
Done! If you haven't encountered any problems, then you're ready to begin developing Android applications. -We recommend you begin with the Hello World tutorial, -which will teach you some basics about Android applications and how to create projects using Eclipse.
+Done! If you haven't encountered any problems, then you're ready to +begin developing Android applications. See the After +Installation: Next Steps section for suggestions on how to start.
Once you have installed the SDK and the ADT Plugin, you are ready to +begin developing applications. Here are a few ways you can get started:
+ +Learn about Android
+Explore the SDK
+Explore some code
+<sdk>/samples, then compile and run it in
+your development environmentVisit the Android developer groups
+