aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2015-09-30 19:06:19 +0000
committerGravatar Florian Weikert <fwe@google.com>2015-09-30 23:45:47 +0000
commit0c069d133589ce8cd7da4fc61dea6812441e29f6 (patch)
tree64fa5ac58fe2054e306313abd9d189d89a74220f /site
parentc2c123e544d99a0bfd01a83a0b8e8b64363ca72f (diff)
Flag the Android NDK step as optional, fix a typo and tweak the text a bit.
-- MOS_MIGRATED_REVID=104321044
Diffstat (limited to 'site')
-rw-r--r--site/docs/tutorial/android-app.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/site/docs/tutorial/android-app.md b/site/docs/tutorial/android-app.md
index 4b4a59dcbc..9783d061ad 100644
--- a/site/docs/tutorial/android-app.md
+++ b/site/docs/tutorial/android-app.md
@@ -71,9 +71,10 @@ android_sdk_repository(
)
```
-If you want to compile native code into your Android app, you also need download
-the [Android NDK](https://developer.android.com/ndk/downloads/index.html) and
-tell Bazel where to find it by adding the following stanza to your `WORKSPACE`
+**Optional:** This is not required by this tutorial, but if you want to compile
+native code into your Android app, you also need to download the
+[Android NDK](https://developer.android.com/ndk/downloads/index.html) and
+tell Bazel where to find it by adding the following rule to your `WORKSPACE`
file:
```python
@@ -86,7 +87,7 @@ android_ndk_repository(
)
```
-"API level" is the version of the Android API the SDK and the NDK target
+`api_level` is the version of the Android API the SDK and the NDK target
(for example, 19 for Android K and 21 for Android L). It's not necessary to set
the API levels to the same value for the SDK and NDK.
[This web page](https://developer.android.com/ndk/guides/stable_apis.html)