@@ -27,6 +27,7 @@ This is a Gradle-based project that works best with [Android Studio].
27
27
you can download from http://developer.android.com/wear/. If you NOT wish to
28
28
build with Android Wear support, further details can be found in the
29
29
[Building without Android Wear] section in this document.
30
+
30
31
<hr >
31
32
32
33
## Build the app
@@ -69,12 +70,12 @@ This is a Gradle-based project that works best with [Android Studio].
69
70
6 . Add your debug keystore to the project (save it as android/debug.keystore),
70
71
or modify the build.gradle file to point to your key.
71
72
72
- > __ NOTE__ : In debug mode, you sign your app with a debug certificate generated
73
- by the Android SDK. This certificate has a private key and a known password.
74
- To sign your app in release mode, you need to generate your own certificate.
75
- If you haven't done so, please refer to the [App Signing] guide for further
76
- details. If you wish to build with Android Wear support, please refer to the
77
- [Packaging Wearable Apps] guide for further details.
73
+ > __ NOTE__ : In debug mode, you sign your app with a debug certificate generated
74
+ by the Android SDK. This certificate has a private key and a known password.
75
+ To sign your app in release mode, you need to generate your own certificate.
76
+ If you haven't done so, please refer to the [App Signing] guide for further
77
+ details. If you wish to build with Android Wear support, please refer to the
78
+ [Packaging Wearable Apps] guide for further details.
78
79
79
80
7 . Choose Build > Make Project in Android Studio or run the following
80
81
command in the project root directory:
@@ -90,7 +91,8 @@ This is a Gradle-based project that works best with [Android Studio].
90
91
## Building without Android Wear
91
92
92
93
If you do NOT wish to build the Android Wear component, you need to make the two
93
- changes below.
94
+ changes below.
95
+
94
96
1. Open android/build.gradle and remove (or comment out) the following line:
95
97
```
96
98
wearApp project(":Wearable")
@@ -140,11 +142,11 @@ certificate fingerprint, run the following command (on Windows, substitute
140
142
keytool -exportcert -alias your-key-name \
141
143
-keystore /path/to/your/release/keystore/file -list -v
142
144
```
143
- > __ NOTE__ : In order to create a Client ID, you might be required to set up the
144
- consent screen first! _(The screen that will be shown to users whenever you
145
- request access to their private data using your Client ID.)_ To do so, go to
146
- "APIs and auth" > "Consent screen", enter a "PRODUCT NAME" and click "Save".
147
- Finally, go back to Step 5 to create your Client ID(s).
145
+ > __ NOTE__ : In order to create a Client ID, you might be required to set up the
146
+ consent screen first! _ (The screen that will be shown to users whenever you
147
+ request access to their private data using your Client ID.)_ To do so, go to
148
+ "APIs and auth" > "Consent screen", enter a "PRODUCT NAME" and click "Save".
149
+ Finally, go back to Step 5 to create your Client ID(s).
148
150
149
151
6 . Still at the "Credentials" page, create an API Key for Public API access.
150
152
As a key type use _ "Key for Android applications"_ , and you should add both your
0 commit comments