Skip to content

Commit e675279

Browse files
committed
Fix/improve building doc.
1 parent c9af7fb commit e675279

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

doc/BUILDING.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ This is a Gradle-based project that works best with [Android Studio].
2727
you can download from http://developer.android.com/wear/. If you NOT wish to
2828
build with Android Wear support, further details can be found in the
2929
[Building without Android Wear] section in this document.
30+
3031
<hr>
3132

3233
## Build the app
@@ -69,12 +70,12 @@ This is a Gradle-based project that works best with [Android Studio].
6970
6. Add your debug keystore to the project (save it as android/debug.keystore),
7071
or modify the build.gradle file to point to your key.
7172

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.
7879

7980
7. Choose Build > Make Project in Android Studio or run the following
8081
command in the project root directory:
@@ -90,7 +91,8 @@ This is a Gradle-based project that works best with [Android Studio].
9091
## Building without Android Wear
9192

9293
If you do NOT wish to build the Android Wear component, you need to make the two
93-
changes below.
94+
changes below.
95+
9496
1. Open android/build.gradle and remove (or comment out) the following line:
9597
```
9698
wearApp project(":Wearable")
@@ -140,11 +142,11 @@ certificate fingerprint, run the following command (on Windows, substitute
140142
keytool -exportcert -alias your-key-name \
141143
-keystore /path/to/your/release/keystore/file -list -v
142144
```
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).
148150

149151
6. Still at the "Credentials" page, create an API Key for Public API access.
150152
As a key type use _"Key for Android applications"_, and you should add both your

0 commit comments

Comments
 (0)