From 3f9de8b6caa3fe9119b363c64e79d13bb72aec76 Mon Sep 17 00:00:00 2001
From: Dirk Dougherty For more information on this SDK release, read the
+Release Notes. The SDK includes a full set of tools for developing and debugging application code and designing an application UI. You can read about the tools in the
+Dev Guide and access them in the The tools package in this SDK includes updates from those provided in the previous SDK. The tools also require a different project structure. To use the new tools, you need to migrate your applications to the new development environment. For more information about how to migrate, see Upgrading the SDK.
+
+ For more information about the new tools features, see the SDK Release Notes.
+
+ This SDK includes multiple Android platform versions that you use to develop applications. For each version, both a fully compliant Android library and system image are provided. The table below lists the platform versions included in this SDK. For more information about a platform version — features, applications included, localizations, API changes, and so on — see its Version Notes. An SDK add-on provides a development environment for an Android external library or a customized (but fully compliant) Android system image. This SDK includes the SDK add-on listed below. The Android system API Level required by the add-on is noted. You can look at a variety of tutorials and samples in the Dev Guide and access the sample code itself
+in the The SDK package includes a full set of local documentation. To view it, open the The most current documentation is always available on the Android Developers site: 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. Once you've downloaded
+the SDK, return here. 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 read
+Upgrading the
+SDK, instead.
+ Before you begin, 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 (3.3 or newer). 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
+ 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 when
+using the SDK tools. Optionally, you may want to add the location of the SDK's primary Note that, if you update your SDK in the future, you
+should remember to update your PATH settings to point to the new location, if different. If you will be using the Eclipse IDE as your development environment,
+the next section describes how to install the Android Development Tools plugin and set up Eclipse.
+If you choose not to use Eclipse, you can
+develop Android applications in an IDE of your choice and then compile, debug and deploy using
+the tools included in the SDK (skip to Next Steps). 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, debug your applications using the Android SDK tools, and even export
+signed (or unsigned) APKs in order to distribute your application. In general, using Eclipse with ADT is a highly recommended
+approach to Android development and is the fastest way to get started.
+(If you prefer to work in an IDE other than Eclipse,
+you do not need to install Eclipse or ADT, instead, you can directly
+use the SDK tools 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. If you have trouble aqcuiring the plugin, try using "http" in the URL,
+ instead of "https" (https is preferred for security reasons). Click OK. If you have trouble aqcuiring the plugin, try using "http" in the Location URL,
+ instead of "https" (https is preferred for security reasons). Click OK. Now 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. See the
+Next Steps section for suggestions on how to start.
+If you are having trouble downloading the ADT plugin after following the steps above, here are
+some suggestions:
+If you are still unable to use Eclipse to download the ADT plugin as a remote update site, you
+can download the ADT zip file to your local machine and manually install the it:
+ To update your plugin once you've installed using the zip file, you will have to
+follow these steps again instead of the default update instructions. Note that there are features of ADT that require some optional
+Eclipse components (for example, WST). If you encounter an error when
+installing ADT, your Eclipse installion might not include these 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:
+
+...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. Once you have completed installation, 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 Visit the Android developer groups The sections below describe the system and software requirements for developing Android applications using the Android SDK tools included in Android SDK, Release . 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. This document describes how to move your development environment and existing
+Android applications from an Android 1.0 or 1.1 SDK to the Android 1.5 SDK.
+If you are migrating applications from an SDK older than 1.0, please also read the upgrading
+document available in the Android 1.0 SDK package. There are several compelling reasons to upgrade, such as new SDK tools
+that make developing more efficient and new APIs that allow you to expand the feature-set
+of your applications. However, even if you or your applications don't require these enhancements,
+it's important that you upgrade to ensure that your applications run properly on the
+Android 1.5 platform. The Android 1.5 platform will soon be deployable to devices around the world.
+If you have already released Android applications to the public, you should
+test the forward-compatibility of your applications on the latest version of the platform
+as soon as possible. It's unlikely that you'll encounter breakage in your applications, but
+in the interest of maintaining the best user experience, you should take no risks.
+So, please install the new Android SDK and test your applications on Android 1.5. For more information on new SDK features and system changes,
+see the Android 1.5 Version Notes. If you haven't yet downloaded the SDK, download from here
+and unpack it into a safe location. Before you begin:
+If you had previously setup your PATH variable to point to the SDK tools directory,
+then you need to update it to point to the new SDK. For example, for a
+ If you don't use Eclipse for development,
+skip to Update Your Projects. If you installed ADT-0.9_pre with the early look 1.5 SDK, there have been
+additional changes, so please continue with this guide and update to the final ADT 0.9. A new ADT plugin (version 0.9) is required for the Android 1.5 SDK.
+Because the component structure has been changed since Android 1.1,
+the Android 1.5 SDK does not work with ADT 0.8 (or older) and previously installed SDKs will not
+work with ADT 0.9. However, the Android 1.5 SDK includes an Android 1.1 SDK image that you
+can build against while using ADT 0.9. For information about using different system images (such as Android 1.1)
+while running this SDK, see Developing
+In Eclipse, with ADT or In
+Other IDEs, as appropriate for your development environment. In order to upgrade your Eclipse IDE to use the new 0.9 ADT, follow the steps below
+for your respective version of Eclipse. You must uninstall your existing ADT plugin (0.8 or older). If you do not uninstall it,
+you will get a conflict with the Android Editors when installing the new ADT.
+(If you have already installed ADT-0.9_pre with the early look 1.5 SDK, you can skip this
+uninstall procedure and continue to Install the 0.9 ADT plugin). (Do not uninstall "Android Development Tools".) (Do not uninstall "Android Development Tools".) Only install the new plugin once you've completed the procedure to
+Uninstall your previous ADT plugin. (Your original entry for the plugin should still be here. If not, see the guide
+ to Installing the ADT Plugin.)
+ If you encounter problems, ensure your ADT is fully uninstalled and then
+follow the guide to
+Installing the ADT Plugin
+for Eclipse. The last step is to update your Eclipse preferences to point to the new SDK directory: You will now need to update any and all Android projects that you have
+developed using a previous version of the Android SDK. If you use Eclipse to develop applications, use the following procedure to
+update each project: The new plugin creates a Note that, with the Android 1.5 SDK, there is a new process for running
+applications in the Android Emulator.
+Specifically, you must create an Android Virtual Device (AVD) before you can launch an instance
+of the Emulator. Before attempting to run your applications with the new SDK,
+please continue with the section below to
+Migrate Your Applications. If you build your projects using the Ant tool (rather than with Eclipse), note the
+following changes with the new SDK tools. You must re-create your If you had customized your Now use the new The "target" corresponds to an Android platform library (including any add-ons, such as
+Google APIs) that you would like to build your project against. You can view a list of available
+targets (and their corresponding integer ID) with the command, A Note: The "activitycreator" tool has been replaced
+by the new "android" tool. For information on creating new projects with the android tool,
+see the documentation about Developing
+In Other IDEs. Note that, with the Android 1.5 SDK, there is a new process for running
+applications in the Android Emulator.
+Specifically, you must create an Android Virtual Device (AVD) before you can launch an instance
+of the Emulator. Before attempting to run your applications with the new SDK,
+please continue with the section below to
+Migrate Your Applications. After you have completed the process above to Update Your
+Projects, you are strongly encouraged to run each of your applications in an instance
+of the emulator running the Android 1.5 system image. It's possible (however, unlikely)
+that you'll encounter some breakage in your application when you run your applications on
+the Android 1.5 system image. Whether you believe your application will be affected by
+platform changes or not, it's very important that you test the application's
+forward-compatibility on Android 1.5. To test forward-compatibility, simply run your existing application (as-is) on an Android
+Emulator that's running the Android 1.5 system image. The following procedure will guide
+you through the process to running your existing applications on an emulator. Please read
+the following guide completely before you begin. To test your application on an emulator running Android 1.5: As mentioned in the guide to Update Your Projects,
+ you should have selected a "build
+ target" of "1", which compiles your application against the Android 1.1 system image, so there
+ should be no new errors in your code. Eclipse users: follow the
+ Eclipse guide to
+ Running Your Application. Ant users: follow the
+ Ant guide to
+ Running Your Application
+ During the procedure to Running Your Application, select a "deployment target"
+ for the AVD that includes the Android 1.5 platform.
+ If your application utilizes the Google Maps APIs (i.e.,
+ MapView), be certain to select a target that includes the Google APIs. Once you complete the procedures to run your application in your respective environment,
+ linked above, return here. Chances are, your application runs just fine on the Android 1.5 platform —
+new devices will be able to safely install and run your application and
+current users who update their devices will be able to continue using your application as usual.
+However, if something doesn't work the way you expect, then you might need to revisit
+your project and make any necessary changes to your code. You can check for code breakages caused by API changes by opening your project
+in Eclipse, changing the "build target" to one using the Android 1.5 platform,
+and see where the ADT identifies errors in your code. There have been several API additions made for this release, but there have been
+very few actual API changes. Only a couple (relatively unused) elements
+have been removed and a few have been deprecated, so your applications written with the
+Android 1.1 system library should work just fine. However,
+your application is more likely to encounter problems on Android 1.5
+if it performs any of the following: Please read our blog post on Future-Proofing
+Your Apps for more information on the issues mentioned above. For information
+about other changes made to Android 1.5, refer to the following documents: If you have additional trouble updating your code, visit the
+Android Developers Group
+to seek help from other Android developers. This document provides version-specific information about Android SDK
releases. For the latest known issues, please ensure that you're viewing this
-page at:
-http://developer.android.com/sdk/RELEASENOTES.html.SDK Contents
+
+Development tools
+
+<sdk>/tools/ directory.
+
+Android Platforms
+
+
+
+
+
+
+
+Notes Description
+
+
+
+3
+
+Includes a standard Android 1.5 library and system image with a set of development applications. Does not include any external libraries (such as the Maps external library).
+
+
+
+2
+
+Includes a compliant Android 1.1 library and system image with a set of development applications. Also includes the Maps external library (due to legacy build system issues).
+SDK Add-Ons
+
+
+
+
+
+
+Notes Description
+
+
+
+3
+
+Includes the com.google.android.maps external library, a compliant
+system image, a {@link android.location.Geocoder Geocoder}
+backend service implementation, documentation, and sample code.
+Sample Code and Applications
+
+<sdk>/platforms/android-1.5/samples/ directory of the SDK package. Note the new location — the SDK now includes multiple platform versions that you can develop against and each has its own sample code directory. 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?
+Preparing for Installation
+
+Installing the SDK
+
+android_sdk_<platform>_<release>.
+The directory contains a local copy of the documentation (accessible by opening
+documentation.html in your browser) and the subdirectories
+tools/, add-ons/, platforms/, and others. Inside
+each subdirectory of platforms/ you'll find samples/, which includes
+code samples that are specific to each version of the platform.tools directory
+to your system PATH. The primary tools/ directory is located at the root of the
+SDK folder. Adding 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.
+
+
+~/.bash_profile or ~/.bashrc file. Look
+ for a line that sets the PATH environment variable and add the
+ full path to the tools/ directory to it. If you don't
+ see a line setting the path, you can add one:
+
+ export PATH=${PATH}:<your_sdk_dir>/tools.bash_profile and
+ proceed as for Linux. You can create the .bash_profile if
+ you haven't already set one up on your machine. tools/ directory to the path. Installing the ADT Plugin for Eclipse
+
+
+
+
+
+Eclipse 3.3 (Europa) Eclipse 3.4 (Ganymede)
+
+
+
+
+
+
+
+https://dl-ssl.google.com/android/eclipse/
+
+
+
+
+
+
+
+https://dl-ssl.google.com/android/eclipse/
+
+
+
+Troubleshooting ADT Installation
+
+
+http://dl-ssl.google.com/android/eclipse/
+
+
+ In Eclipse 3.4, click Add Site..., then Archive...Other install errors
+
+For Linux users
+
+An error occurred during provisioning.
+Cannot connect to keystore.
+JKS
+Next Steps
+
+
+
+
+
+
+
+
+
+<sdk>/platforms/<platfrom>/samples,
+ then compile and run it in your development environment
+
+
+
+Installation Notes
+
+Ubuntu Linux Notes
+
+
+
+
+
+
+ ia32-libs package using
+ apt-get::
+ apt-get install ia32-libs
+ apt-get install sun-java6-bin
Other Linux Notes
+
+
+
+
+
+
diff --git a/docs/html/sdk/1.5_r2/requirements.jd b/docs/html/sdk/1.5_r2/requirements.jd
new file mode 100644
index 000000000000..4ed38a741261
--- /dev/null
+++ b/docs/html/sdk/1.5_r2/requirements.jd
@@ -0,0 +1,39 @@
+page.title=System Requirements
+@jd:body
+
+Supported Operating Systems
+
+
+
+Supported Development Environments
+
+
+
+
+
+
+
+
+
+ Upgrading the SDK
+
+
+
+ In this document
+
+
+
+
+
+ Migrating references
+
+
+Install the SDK
+
+.bashrc or .bash_profile file:export PATH=$PATH:<your_sdk_dir>/tools
+
+Update Your Eclipse ADT Plugin
+
+Uninstall your previous ADT plugin
+
+
+
+
+
+
+Eclipse 3.3 (Europa) Eclipse 3.4 (Ganymede)
+
+
+
+
+
+
+
+
+
+
+
+Install the 0.9 ADT plugin
+
+
+
+
+
+Eclipse 3.3 (Europa) Eclipse 3.4 (Ganymede)
+
+
+
+
+
+
+
+
+
+
+
+Update your Eclipse SDK Preferences
+
+
+
+
+
+Update Your Projects
+
+Eclipse users
+
+
+
+
+gen/ folder in your project, in which it puts the
+R.java file
+and all automatically generated AIDL java files. If you get an error such as
+The type R is already defined,
+then you probably need to delete your old R.java or your old auto-generated
+AIDL Java files in the src/ folder.
+(This does not apply to your own hand-crafted parcelable AIDL java files.)Ant users
+
+build.xml has changed
+
+build.xml file.build.xml, first make a copy of it:
+$ cd my-project
+$ cp build.xml build.xml.old
+
+
+android tool (located in your_sdk/tools/)
+to create a new build.xml that references
+a specific platform target:$ android update project --path /path/to/my-project --target 1
+
+android list targets.
+When you are initially updating your projects to the new SDK, we recommend that you select the
+first target ("1"), which uses the Android 1.1 platform library.gen/ folder will be created the first time you build and your R.java and
+your AIDL Java files will be generated in here. You must remove
+the old R.java and old auto-generated AIDL java files from the
+src/ folder. (This
+does not apply to your own hand-crafted parcelabe AIDL java files.)Migrate Your Applications
+
+
+
+
+Future-proof your apps
+
+
+
+
+
+
+
+
This SDK release provides the same developer tools as the Android 1.5 SDK, +Release 1, but provides an updated Android 1.5 system image that includes a +security patch for the issue described in the oCert advisory below:
+ +http://www.ocert.org/advisories/ocert-2009-006.html
diff --git a/docs/html/sdk/older_releases.jd b/docs/html/sdk/older_releases.jd index ff57a36ec392..3c2bbd403129 100644 --- a/docs/html/sdk/older_releases.jd +++ b/docs/html/sdk/older_releases.jd @@ -1,37 +1,67 @@ -page.title=Older Releases +page.title=Other SDK Releases @jd:body -
The SDKs listed on this page are "early-look" versions that were released in +
This page provides a full list of older, obsolete SDK releases, including +non-current versions of active releases and "early look" versions that were +released before Android 1.0. The list is provided for informational purposes +only.
+ +If you are just getting started developing on Android, make sure that you +are using the most current SDK available, +to ensure that your applications will be compatible with the latest +Android-powered devices.
+ +The table below lists Android SDK releases that have been superceded by an +active release and that are now obsolete. If you are using one of these +releases, please upgrade to the current SDK +release.
+ +| Release + | Platform(s) | +Date + | Description + |
|---|---|---|---|
| Android 1.5 SDK, Release 1 | +Android 1.5 Android 1.1 |
+ April 2009 | +Replaced by Android 1.5 SDK, Release 2. Release notes | +
| Android 1.0 SDK, Release 1 | +Android 1.0 | +September 2008 | +Replaced by Android 1.0 SDK, Release 2. Release notes | +
The SDKs listed below are "early-look" versions that were released in the year preceding the full release of Android 1.0 in September 2008. Because these early-look SDKs were released before the Android 1.0 API specification was finalized, they do not provide a compliant Android execution environment. Consequently, applications that you develop in these SDKs will not be able to run on any Android-powered devices.
-If you have an older application that you built in one of the early-look SDKs, - you must migrate it to the Android - 1.0 SDK (or later release) before you will be able to deploy it to - an Android-powered device. To help with this migration, each SDK package below - provides information about API changes from the previous version. You can find - the migration information in the documentation included in each SDK package.
- -If you are just getting started developing on Android, do not use one of these early-look - SDKs. Instead, develop using the most current - SDK release available, to ensure that your applications will be compatible - with Android-powered devices.
-If you have an older application that you built in one of the early-look +SDKs, you must migrate it to the Android 1.0 SDK (or later release) before you +will be able to deploy it to an Android-powered device. To help with this +migration, each SDK package below provides information about API changes from +the previous version. You can find the migration information in the +documentation included in each SDK package.
+ - - -August 18, 2008 - Release Notes
+August 18, 2008 - Release Notes
| Platform | -Package | +Package | Size | MD5 Checksum | |
|---|---|---|---|---|---|
March 3, 2008 - Release Notes
| Platform | -Package | +Package | Size | MD5 Checksum | |
|---|---|---|---|---|---|
February 12, 2008 - Release Notes
| Platform | -Package | +Package | Size | MD5 Checksum | |
|---|---|---|---|---|---|
| Platform | -Package | +Package | Size | MD5 Checksum | |
|---|---|---|---|---|---|
| Platform | -Package | +Package | Size | MD5 Checksum | |
|---|---|---|---|---|---|
| Platform | -Package | +Package | Size | MD5 Checksum | |
|---|---|---|---|---|---|