From 89d11705a19f73d32a7e604477dd4358dc04d051 Mon Sep 17 00:00:00 2001
From: "smain@google.com" Get started by installing Android Studio—the official IDE for Android development,
+href="{@docRoot}studio/index.html">Android Studio—the official IDE for Android development,
which includes the Android SDK tools. Then when you're ready to begin coding, follow the training
for Building Your First App.Go!
See Also
-
-
@@ -54,9 +49,7 @@ compliant and includes no external libraries.
To get started developing or testing against the Android {@sdkPlatformVersion} platform, use the Android SDK and AVD Manager tool to -download the platform into your Android 1.6 or later SDK. For more information, -see Exploring the -SDK.
+download the platform into your Android 1.6 or later SDK.To get started developing or testing against the Android {@sdkPlatformVersion} platform, use the Android SDK and AVD Manager tool to -download the latest Android 1.6 platform into your Android 1.6 or later SDK. For -more information, see Exploring the -SDK.
+download the latest Android 1.6 platform into your Android 1.6 or later SDK.To get started developing or testing against the Android {@sdkPlatformVersion} platform, use the Android SDK and AVD Manager tool to -download the platform into your Android 1.6 or later SDK. For more information, -see Exploring the -SDK.
+download the platform into your Android 1.6 or later SDK.To get started developing or testing against the Android {@sdkPlatformVersion} platform, use the Android SDK and AVD Manager tool to -download the platform into your SDK. For more information, -see Exploring the -SDK.
+download the platform into your SDK.To get started developing or testing against the Android {@sdkPlatformVersion} platform, use the Android SDK and AVD Manager tool to -download the platform into your SDK. For more information, -see Exploring the -SDK.
+download the platform into your SDK.To start building apps for Android 5.0, you must first get
+ To start building apps for Android 5.0, you must first get
the Android SDK. Then use the SDK Manager
to download the Android 5.0 SDK Platform and System Images.
To start building apps for Android 6.0, you must first get
+ To start building apps for Android 6.0, you must first get
the Android SDK. Then use the SDK Manager
to download the Android 6.0 SDK Platform and System Images.
First, open the Android SDK Manager +
First, open the Android SDK Manager (Tools > Android > SDK Manager), and under Appearance & Behavior > System Settings > Android SDK, select the SDK Tools tab to select and download:
diff --git a/docs/html/google/play/licensing/setting-up.jd b/docs/html/google/play/licensing/setting-up.jd index f7521822d9b3..352b79b304a4 100755 --- a/docs/html/google/play/licensing/setting-up.jd +++ b/docs/html/google/play/licensing/setting-up.jd @@ -250,9 +250,8 @@ the LVL library project and the example application into these directories:<sdk>/extras/google/market_licensing/sample/ (the example
application)
-If you aren't familiar with how to download packess into your SDK, see the -Exploring the SDK -document.
+If you aren't familiar with how to download packages into your SDK, learn how to +update the SDK tools.
For more information about how to work with library modules in Android Studio, see -Managing Projects from -Android Studio.
+Create an Android Library.To start testing and developing your application on Android 3.0, set up your existing Android SDK with the new platform:
-(If you don't have an existing Android SDK, download the -SDK starter package now.)
-Many of the new features and APIs that are described above and in the Android 3.0 Platform document also have accompanying
samples that allow you to preview the effects and can help you understand how to use them. To get
-the samples, download them from the SDK repository using the Android SDK Manager. After downloading the samples ("Samples for SDK API
11"), you can find them in <sdk_root>/samples/android-11/. The following list
provides links to the browsable source code for some of the samples:
aapt in the
Note: You must use the version of
aapt that is provided for the latest Platform-Tools component available. If
you do not have the latest Platform-Tools component, download it using the Android SDK Manager.
+href="{@docRoot}studio/intro/update.html">Android SDK Manager.
aapt using this syntax: A "custom" locale is a language/region combination that the Android -system image does not explicitly support. (For a list of supported locales in -Android platforms see the Version Notes in the SDK tab). You can test +system image does not explicitly support. You can test how your application will run in a custom locale by creating a custom locale in the emulator. There are two ways to do this:
diff --git a/docs/html/index.jd b/docs/html/index.jd index 2f67c58412a0..28b8626f8220 100644 --- a/docs/html/index.jd +++ b/docs/html/index.jd @@ -55,7 +55,7 @@ nonavpage=trueTo start developing apps for Android, download the free Android SDK.
+href="{@docRoot}studio/index.html">download the free Android SDK.To install and configure the NDK, follow these steps:
Follow the guide to Installing the Android SDK, which +
Follow the guide to Installing the Android SDK, which will help you setup your development environment.
You can download these components through the SDK Manager in Android Studio:
+You can download these components through the SDK Manager in Android Studio:
Android Studio may ask you to choose the type of project you are importing.
If this is the case, make sure to choose Import project from
diff --git a/docs/html/sdk/1.0_r1/installing.jd b/docs/html/sdk/1.0_r1/installing.jd
index 2ea04e468754..38c2a1a32241 100644
--- a/docs/html/sdk/1.0_r1/installing.jd
+++ b/docs/html/sdk/1.0_r1/installing.jd
@@ -1,8 +1,8 @@
@jd:body
You should have already been redirected by your browser. Please go to
-Installing the Android SDK.
You should have already been redirected by your browser. Please go to -Installing the Android SDK.
\ No newline at end of file +Installing the Android SDK. \ No newline at end of file diff --git a/docs/html/sdk/1.1_r1/installing.jd b/docs/html/sdk/1.1_r1/installing.jd index 2ea04e468754..38c2a1a32241 100644 --- a/docs/html/sdk/1.1_r1/installing.jd +++ b/docs/html/sdk/1.1_r1/installing.jd @@ -1,8 +1,8 @@ @jd:bodyYou should have already been redirected by your browser. Please go to -Installing the Android SDK.
\ No newline at end of file +Installing the Android SDK. \ No newline at end of file diff --git a/docs/html/sdk/1.5_r1/installing.jd b/docs/html/sdk/1.5_r1/installing.jd index 2ea04e468754..38c2a1a32241 100644 --- a/docs/html/sdk/1.5_r1/installing.jd +++ b/docs/html/sdk/1.5_r1/installing.jd @@ -1,8 +1,8 @@ @jd:bodyYou should have already been redirected by your browser. Please go to -Installing the Android SDK.
\ No newline at end of file +Installing the Android SDK. \ No newline at end of file diff --git a/docs/html/sdk/1.5_r2/installing.jd b/docs/html/sdk/1.5_r2/installing.jd index 2ea04e468754..38c2a1a32241 100644 --- a/docs/html/sdk/1.5_r2/installing.jd +++ b/docs/html/sdk/1.5_r2/installing.jd @@ -1,8 +1,8 @@ @jd:bodyYou should have already been redirected by your browser. Please go to -Installing the Android SDK.
\ No newline at end of file +Installing the Android SDK. \ No newline at end of file diff --git a/docs/html/sdk/1.5_r3/installing.jd b/docs/html/sdk/1.5_r3/installing.jd index 2ea04e468754..38c2a1a32241 100644 --- a/docs/html/sdk/1.5_r3/installing.jd +++ b/docs/html/sdk/1.5_r3/installing.jd @@ -1,8 +1,8 @@ @jd:bodyYou should have already been redirected by your browser. Please go to -Installing the Android SDK.
\ No newline at end of file +Installing the Android SDK. \ No newline at end of file diff --git a/docs/html/sdk/1.6_r1/installing.jd b/docs/html/sdk/1.6_r1/installing.jd index 2ea04e468754..38c2a1a32241 100644 --- a/docs/html/sdk/1.6_r1/installing.jd +++ b/docs/html/sdk/1.6_r1/installing.jd @@ -1,8 +1,8 @@ @jd:bodyYou should have already been redirected by your browser. Please go to -Installing the Android SDK.
\ No newline at end of file +Installing the Android SDK. \ No newline at end of file diff --git a/docs/html/sdk/RELEASENOTES.jd b/docs/html/sdk/RELEASENOTES.jd index d69697ab46ac..8f124a5f9b44 100644 --- a/docs/html/sdk/RELEASENOTES.jd +++ b/docs/html/sdk/RELEASENOTES.jd @@ -45,8 +45,8 @@ href="{@docRoot}tools/sdk/eclipse-adt.html#notes">ADT Plugin for EclipseTo get started with the SDK, review the Quick Start summary on the Android SDK download page or read Installing the SDK for detailed +href="{@docRoot}studio/index.html">Android SDK download page or read Installing the SDK for detailed installation instructions.
@@ -204,7 +204,7 @@ to upgrade to the latest version.For driver installation or upgrade instructions, see USB Driver for Windows.
+href="{@docRoot}studio/run/win-usb.html">USB Driver for Windows.For driver installation or upgrade instructions, see USB Driver for Windows.
+href="{@docRoot}studio/run/win-usb.html">USB Driver for Windows.Note: You must agree to this license agreement in order to download one of the archived SDKs, because these SDK packages contain Google software (whereas, the -current SDK packages do not require a +current SDK packages do not require a license agreement, because they contain only the open sourced SDK tools).
If you are just starting to develop applications for Android, please -download the current Android +download the current Android SDK. With the current Android SDK, you can add any current and previous version of the Android platform as a component and use it for development and testing.
If you already have an Android SDK for platform version 1.6 or newer, then you do not need to install a new SDK—especially not one from this page. You should install older platforms as components of your existing SDK. -See Exploring the SDK.
+See Exploring the SDK.Please download the current Android SDK.
+href="http://developer.android.com/studio/index.html">Android SDK.In this case, the build file setting tells Google Play that the default build variant of your application can be installed on devices with Android 2.2 (API level 8) and higher. For more information about build variants, see - Build System Overview.
+ Build System Overview.Note: If you are including the v4 support and v7 appcompat libraries in your diff --git a/docs/html/topic/libraries/testing-support-library/index.jd b/docs/html/topic/libraries/testing-support-library/index.jd index 6376e1db1335..ccbbe74a1a9d 100644 --- a/docs/html/topic/libraries/testing-support-library/index.jd +++ b/docs/html/topic/libraries/testing-support-library/index.jd @@ -629,5 +629,5 @@ android {
For more information about Android Studio and to download it, see - Download Android Studio and SDK Tools. + Download Android Studio and SDK Tools.
diff --git a/docs/html/training/auto/messaging/index.jd b/docs/html/training/auto/messaging/index.jd index fa8a8c4a7275..0c4c7327ae6e 100644 --- a/docs/html/training/auto/messaging/index.jd +++ b/docs/html/training/auto/messaging/index.jd @@ -280,7 +280,7 @@ User Actions.After you have updated the support libraries, import them into your Android Studio development project by adding this dependency to your - build.gradle file: + build.gradle file:
diff --git a/docs/html/training/auto/start/index.jd b/docs/html/training/auto/start/index.jd index 202e2c05d86a..b0e747d66e17 100644 --- a/docs/html/training/auto/start/index.jd +++ b/docs/html/training/auto/start/index.jd @@ -63,7 +63,7 @@ communicate with Auto.Before you begin building apps for Auto, you must:
Note: You should already have the Android SDK installed, and if -you're using Android Studio, you should also have -Android Studio installed. If you don't have these, follow the guide to Installing the Android SDK before you start this +
Note: You should already have Android Studio or the Android SDK +command-line tools installed. If not, download them before you start this lesson.
@@ -139,7 +138,7 @@ moment to review the most important of these:compiledSdkVersion is the platform version against which you will compile
your app. By default, this is set to the latest version of Android available in your SDK.
(It should be Android 4.1 or greater; if you don't have such a version available, you must
- install one using the SDK Manager.)
+ install one using the SDK Manager.)
You can still build your app to support older versions, but setting this to the latest
version allows you to enable new features and optimize your app for a great user experience
on the latest devices.See Building Your Project with Gradle +
See Building Your Project with Gradle for more information about Gradle.
diff --git a/docs/html/training/basics/firstapp/index.jd b/docs/html/training/basics/firstapp/index.jd index 4e3689a3e7b6..cb5073f95c01 100644 --- a/docs/html/training/basics/firstapp/index.jd +++ b/docs/html/training/basics/firstapp/index.jd @@ -15,7 +15,7 @@ helpoutsWidget=trueNote: Your Android SDK should already include
the latest Android Support Library, which you installed during the
-Adding SDK Packages step.
+Adding SDK Packages step.
When using the templates in Android Studio, the Support Library is automatically added to your app project
(you can see the library's JAR file listed under Android Dependencies). If you're not using
Android Studio, you need to manually add the library to your project—follow the guide for
To use these features in versions of Android earlier than 5.0 (API level 21), include the Android v7 Support Library in your project as a Gradle dependency:
+href="{@docRoot}/studio/build/index.html#dependencies">Gradle dependency:
dependencies {
diff --git a/docs/html/training/material/drawables.jd b/docs/html/training/material/drawables.jd
index eb9d2734ec81..75911f16b5d8 100644
--- a/docs/html/training/material/drawables.jd
+++ b/docs/html/training/material/drawables.jd
@@ -70,7 +70,7 @@ provide a listener instead.
Palette class, such as Palette.getVibrantColor.
To use the {@link android.support.v7.graphics.Palette} class in your project, add the following
-Gradle dependency to your
+Gradle dependency to your
app's module:
diff --git a/docs/html/training/material/lists-cards.jd b/docs/html/training/material/lists-cards.jd
index e7bdfe0ab09a..ee4a56f7cf8a 100644
--- a/docs/html/training/material/lists-cards.jd
+++ b/docs/html/training/material/lists-cards.jd
@@ -254,7 +254,7 @@ widget in your layout:
The {@link android.support.v7.widget.RecyclerView} and {@link android.support.v7.widget.CardView}
widgets are part of the v7 Support
Libraries. To use these widgets in your project, add these
-Gradle dependencies to your
+Gradle dependencies to your
app's module:
diff --git a/docs/html/training/multiple-apks/api.jd b/docs/html/training/multiple-apks/api.jd
index 504b4e3ffb00..6647a8c22a01 100755
--- a/docs/html/training/multiple-apks/api.jd
+++ b/docs/html/training/multiple-apks/api.jd
@@ -149,17 +149,9 @@ color themes, bugs fixed in shared code), which improves your development time a
likelihood of mistakes that could have been easily avoided.
Note: While the implementation details of how to create and
-include library projects are beyond the scope of this lesson, you can get up to speed quickly on
-their creation at the following links:
-
-
+include library projects are beyond the scope of this lesson, you can get up to speed
+by reading Create an Android Library.
If you’re converting an existing application to use multiple APK support, scour your codebase for every localized string file, list of values, theme diff --git a/docs/html/training/multiple-apks/multiple.jd b/docs/html/training/multiple-apks/multiple.jd index 25015643b54b..c0c2baa97d4d 100755 --- a/docs/html/training/multiple-apks/multiple.jd +++ b/docs/html/training/multiple-apks/multiple.jd @@ -178,16 +178,9 @@ color themes, bugs fixed in shared code), which improves your development time a likelihood of mistakes that could have been easily avoided.
Note: While the implementation details of how to create and -include library projects are beyond the scope of this lesson, you can get up to speed quickly on -their creation at the following links:
- +include library projects are beyond the scope of this lesson, you can get up to speed +by reading Create an Android Library.If you’re converting an existing application to use multiple APK support, scour your codebase for every localized string file, list of values, theme diff --git a/docs/html/training/multiple-apks/screensize.jd b/docs/html/training/multiple-apks/screensize.jd index a482f673d2f2..166869196549 100755 --- a/docs/html/training/multiple-apks/screensize.jd +++ b/docs/html/training/multiple-apks/screensize.jd @@ -126,18 +126,9 @@ color themes, bugs fixed in shared code), which improves your development time a likelihood of mistakes that could have been easily avoided.
Note: While the implementation details of how to create and -include library projects are beyond the scope of this lesson, you can get up to speed quickly on -their creation at the following links:
- - - +include library projects are beyond the scope of this lesson, you can get up to speed +by reading Create an Android Library.If you’re converting an existing application to use multiple APK support, scour your codebase for every localized string file, list of values, theme diff --git a/docs/html/training/multiple-apks/texture.jd b/docs/html/training/multiple-apks/texture.jd index 3ffd64f05360..ff3c024ffca7 100755 --- a/docs/html/training/multiple-apks/texture.jd +++ b/docs/html/training/multiple-apks/texture.jd @@ -109,16 +109,9 @@ color themes, bugs fixed in shared code), which improves your development time a likelihood of mistakes that could have been easily avoided.
Note: While the implementation details of how to create and -include library projects are beyond the scope of this lesson, you can get up to speed quickly on -their creation at the following links:
- +include library projects are beyond the scope of this lesson, you can get up to speed +by reading Create an Android Library.If you’re converting an existing application to use multiple APK support, scour your codebase for every localized string file, list of values, theme diff --git a/docs/html/training/testing/integration-testing/service-testing.jd b/docs/html/training/testing/integration-testing/service-testing.jd index 7b420acede05..60b95ca08a6b 100644 --- a/docs/html/training/testing/integration-testing/service-testing.jd +++ b/docs/html/training/testing/integration-testing/service-testing.jd @@ -128,7 +128,7 @@ public void testWithBoundService() throws TimeoutException {
-You can run integration tests from Android Studio or +You can run integration tests from Android Studio or from the command-line. Make sure to specify {@code AndroidJUnitRunner} as the default instrumentation runner in your project. diff --git a/docs/html/training/testing/ui-testing/espresso-testing.jd b/docs/html/training/testing/ui-testing/espresso-testing.jd index 45a4ceba279b..7df67e7c23b8 100644 --- a/docs/html/training/testing/ui-testing/espresso-testing.jd +++ b/docs/html/training/testing/ui-testing/espresso-testing.jd @@ -582,7 +582,7 @@ public void testChangeText_sameActivity() {
-You can run Espresso tests from Android Studio or +You can run Espresso tests from Android Studio or from the command-line. Make sure to specify {@code AndroidJUnitRunner} as the default instrumentation runner in your project. diff --git a/docs/html/training/testing/ui-testing/index.jd b/docs/html/training/testing/ui-testing/index.jd index 1aa95a412f7e..20ec99e9587c 100644 --- a/docs/html/training/testing/ui-testing/index.jd +++ b/docs/html/training/testing/ui-testing/index.jd @@ -32,7 +32,7 @@ tests such that user actions are performed in an automated way. The automated ap you to run your tests quickly and reliably in a repeatable manner.
Note: It is strongly encouraged that you use -Android Studio for +Android Studio for building your test apps, because it provides project setup, library inclusion, and packaging conveniences. This class assumes you are using Android Studio.
diff --git a/docs/html/training/testing/ui-testing/uiautomator-testing.jd b/docs/html/training/testing/ui-testing/uiautomator-testing.jd index 5dca40b81afa..db9f14b9b2da 100644 --- a/docs/html/training/testing/ui-testing/uiautomator-testing.jd +++ b/docs/html/training/testing/ui-testing/uiautomator-testing.jd @@ -512,7 +512,7 @@ public void testTwoPlusThreeEqualsFive() {-You can run UI Automator tests from Android Studio or +You can run UI Automator tests from Android Studio or from the command-line. Make sure to specify {@code AndroidJUnitRunner} as the default instrumentation runner in your project. diff --git a/docs/html/training/tv/start/index.jd b/docs/html/training/tv/start/index.jd index cbd9b493dce2..fcdaa10a626a 100644 --- a/docs/html/training/tv/start/index.jd +++ b/docs/html/training/tv/start/index.jd @@ -37,7 +37,7 @@ startpage=true
Note: You are encouraged to use Android Studio for building TV apps, because it + "{@docRoot}studio/index.html">Android Studio for building TV apps, because it provides project setup, library inclusion, and packaging conveniences. This training assumes you are using Android Studio.
diff --git a/docs/html/training/tv/start/start.jd b/docs/html/training/tv/start/start.jd index 492cec828068..97668398e22c 100755 --- a/docs/html/training/tv/start/start.jd +++ b/docs/html/training/tv/start/start.jd @@ -77,17 +77,17 @@ supported by Android TV.Before you begin building apps for TV, you must:
For more information about using emulators see, Using the Emulator. For more information on deploying apps from Android Studio to virtual - devices, see Debugging with Android + devices, see Debugging with Android Studio.
diff --git a/docs/html/training/volley/index.jd b/docs/html/training/volley/index.jd index 6ee7d4e0ab9f..22f92721295b 100755 --- a/docs/html/training/volley/index.jd +++ b/docs/html/training/volley/index.jd @@ -78,9 +78,8 @@ git clone https://android.googlesource.com/platform/frameworks/volley.jar file.To update your SDK with these components, see - Get the latest SDK tools.
+ Get the latest SDK tools.Note: If you plan to make your Wear apps available for China,
you must use the special release version 7.8.87 of the Google Play services client library to handle
@@ -139,7 +139,7 @@ wearable. The wearable should also be listed when you run the To begin development, create an app project that contains
wearable and handheld app modules. In Android Studio, click File >
New Project and follow the Project Wizard instructions, as described in
- Creating a
+ Creating a
Project. As you follow the wizard, enter the following information:adb devices<
diff --git a/docs/html/training/wearables/apps/layouts.jd b/docs/html/training/wearables/apps/layouts.jd
index 6480e63f093b..a5f3480cccf6 100755
--- a/docs/html/training/wearables/apps/layouts.jd
+++ b/docs/html/training/wearables/apps/layouts.jd
@@ -200,5 +200,5 @@ dependencies {
reference documentation for the classes above.
Note: We recommend using Android Studio for Android Wear development, as +href="{@docRoot}studio/index.html">Android Studio for Android Wear development, as it provides project setup, library inclusion, and packaging conveniences.
diff --git a/docs/html/training/wearables/apps/packaging.jd b/docs/html/training/wearables/apps/packaging.jd index 9c42978bd33b..c342b46aa356 100644 --- a/docs/html/training/wearables/apps/packaging.jd +++ b/docs/html/training/wearables/apps/packaging.jd @@ -54,7 +54,7 @@ dependencies { handheld app with the wearable app embedded in it automatically into your project's root folder.Alternatively, you can sign both apps from the command line using the - Gradle wrapper. Both apps + Gradle wrapper. Both apps must be signed to have the automatic pushing of the wearable app work.
Store your key file location and credentials in environment variables and run the Gradle diff --git a/docs/html/training/wearables/watch-faces/index.jd b/docs/html/training/wearables/watch-faces/index.jd index aac49d38ce69..94719fd8424e 100755 --- a/docs/html/training/wearables/watch-faces/index.jd +++ b/docs/html/training/wearables/watch-faces/index.jd @@ -45,7 +45,7 @@ app. This class also covers design considerations and implementation tips to ens designs integrate with system UI elements and are power-efficient.
Note: We recommend using Android Studio for Android Wear development, as +href="{@docRoot}studio/index.html">Android Studio for Android Wear development, as it provides project setup, library inclusion, and packaging conveniences. This training assumes you are using Android Studio.
diff --git a/docs/html/training/wearables/watch-faces/service.jd b/docs/html/training/wearables/watch-faces/service.jd index 4246f600902e..20eb0c777e0c 100755 --- a/docs/html/training/wearables/watch-faces/service.jd +++ b/docs/html/training/wearables/watch-faces/service.jd @@ -64,7 +64,7 @@ to implement the watch face service.Android Studio creates a project with the wear and mobile modules.
-For more information, see Creating a
+For more information, see Creating a
Project.
Note: We recommend using Android Studio for Android Wear development, as +href="{@docRoot}studio/index.html">Android Studio for Android Wear development, as it provides project setup, library inclusion, and packaging conveniences.
com.google.android.wearable.watchface.preview metadata entry when
presenting users with all the watch faces installed on the device. To obtain this drawable,
run the watch face on your Android Wear device or in an emulator instance and take a screenshot. On Android Wear
+href="{@docRoot}studio/debug/am-screenshot.html">take a screenshot. On Android Wear
devices with hdpi screens, the preview image is typically 320x320 pixels in size.
Watch faces that look substantially different on round devices can provide both round and -- cgit v1.2.3-59-g8ed1b