diff --git a/docs/html/google/auth/api-client.jd b/docs/html/google/auth/api-client.jd
index 402a95f980d18..5331d1ed9ab01 100644
--- a/docs/html/google/auth/api-client.jd
+++ b/docs/html/google/auth/api-client.jd
@@ -1,4 +1,4 @@
-page.title=Accessing Google Play Services APIs
+page.title=Accessing Google APIs
page.tags="oauth 2.0","GoogleAuthUtil"
trainingnavtop=true
diff --git a/docs/html/google/google_toc.cs b/docs/html/google/google_toc.cs
index 6ff00c0761389..b4028bd265fc6 100644
--- a/docs/html/google/google_toc.cs
+++ b/docs/html/google/google_toc.cs
@@ -3,11 +3,11 @@
######## ATTENTION ###############
######## ###############
#########################################################
-
+
IF YOU MAKE CHANGES TO THIS FILE, YOU MUST GENERATE THE
GMS REFERENCE DOCS, BECAUSE THEY ARE NOT INCLUDED IN THE
DOCS BUILD RULE.
-
+
#########################################################
#########################################################
?>
@@ -73,11 +73,11 @@
diff --git a/docs/html/google/play-services/setup.jd b/docs/html/google/play-services/setup.jd
index 744e191595fe8..049e6fe104961 100644
--- a/docs/html/google/play-services/setup.jd
+++ b/docs/html/google/play-services/setup.jd
@@ -1,4 +1,4 @@
-page.title=Set Up Google Play Services SDK
+page.title=Setting Up Google Play Services
@jd:body
@@ -9,7 +9,7 @@ page.title=Set Up Google Play Services SDK
@@ -18,12 +18,17 @@ page.title=Set Up Google Play Services SDK
+
+
-
To develop an app using the Google
-Play services APIs, you must download the Google Play services SDK
-from the SDK Manager.
-The download includes the client library and code samples.
+Play services APIs, you need to set up your project with the Google Play services SDK.
+
If you haven't installed the Google Play services SDK yet, go get it now by following the guide
+to Adding SDK Packages.
To test your app when using the Google Play services SDK, you must use either:
@@ -33,68 +38,25 @@ The download includes the client library and code samples.
that runs the Google APIs platform based on Android 4.2.2 or higher.
-
Ideally, you should develop and test your app on a variety of devices, including
-both phones and tablets.
-
Install the Google Play Services SDK
+
Add Google Play Services to Your Project
-
To install the Google Play services SDK for development:
+
+
+
+
+
+
-
Launch the SDK Manager in one of the following ways:
-
-
In Android Studio, click SDK Manager
-
-in the toolbar.
On Windows, double-click the SDK Manager.exe file at the root of the Android
- SDK directory.
-
On Mac or Linux, open a terminal and navigate to the tools/ directory in the
- Android SDK, then execute android sdk.
-
-
-
Install the Google Play services SDK.
-
Scroll to the bottom of the package list, expand Extras, select
- Google Play services, and install it. If you're using Android Studio, also install
- Google Repository (it provides the Maven repository used for Gradle builds).
-
The Google Play services SDK is saved in your Android SDK environment at
- <android-sdk>/extras/google/google_play_services/.
-
-
Note: Google Play services 4.0.30 (released
-November 2013) and newer versions require Android 2.3 or higher. If your app supports Android 2.2,
-you can continue development with the Google Play services SDK, but must instead install
-Google Play services for Froyo from the SDK Manager.
-
-
-
Install a compatible version of the Google APIs platform.
-
If you want to test your app on the emulator, expand the directory for Android 4.2.2
- (API 17) or a higher version, select Google APIs, and install it. Then create a
- new AVD with Google APIs as
- the platform target.
-
-
Make a copy of the Google Play services library project.
-
Note: If you are using Android Studio, skip this step.
-
Copy the library project at
- <android-sdk>/extras/google/google_play_services/libproject/google-play-services_lib/
- to the location where you maintain your Android app projects.
-
If you are using Eclipse, import the library project into your workspace.
- Click File > Import, select Android > Existing
- Android Code into Workspace, and browse to the copy of the library project to import it.
-
-
-
-
-
-
Set Up a Project that Uses Google Play Services
-
-
Using Android Studio:
-
-
-
Open the build.gradle file inside your application module directory.
-
Note: Android Studio projects contain a top-level
- build.gradle file and a build.gradle file for each module.
+
Open the build.gradle file inside your application module directory.
+
Note: Android Studio projects contain a top-level
+ build.gradle file and a build.gradle file for each module.
Be sure to edit the file for your application module. See
Building Your Project with
Gradle for more information about Gradle.
To make the Google Play services APIs available to your app, you must reference the library
project you created in step 4 of the installation instructions.
@@ -156,6 +121,9 @@ element:
you can begin developing features with the
Google Play services APIs.
+
+
+
Create a Proguard Exception
@@ -236,5 +204,6 @@ about the error and provides an action
that takes the user to Google Play Store to install the update.
-
To then begin a connection to Google Play services (required by most Google APIs such
+as Google Drive, Google+, and Games), read Accessing Google APIs.
@@ -102,7 +102,7 @@ style="vertical-align:bottom;margin:0;height:17px" /> in the toolbar.
-
Get the support library for additional APIs
+
Get the support library for additional APIs
Why use the support library?
@@ -145,7 +145,7 @@ style="vertical-align:bottom;margin:0;height:17px" /> in the toolbar.
-
Get Google Play services for even more APIs
+
Get Google Play services for even more APIs
Why use Google Play services?
@@ -182,7 +182,7 @@ style="vertical-align:bottom;margin:0;height:17px" /> in the toolbar.
-
Build something!
+
Build something!
With the above packages now in your Android SDK, you're ready to build apps
for Android. As new tools and other APIs become available, simply launch the SDK Manager
@@ -208,8 +208,8 @@ the guide to Use Google APIs
diff --git a/docs/html/sdk/installing/studio.jd b/docs/html/sdk/installing/studio.jd
index af6bd756a5acc..c97afa59fc010 100644
--- a/docs/html/sdk/installing/studio.jd
+++ b/docs/html/sdk/installing/studio.jd
@@ -619,7 +619,7 @@ for possible resolutions to known issues: