From 0c069d133589ce8cd7da4fc61dea6812441e29f6 Mon Sep 17 00:00:00 2001 From: Googler Date: Wed, 30 Sep 2015 19:06:19 +0000 Subject: Flag the Android NDK step as optional, fix a typo and tweak the text a bit. -- MOS_MIGRATED_REVID=104321044 --- site/docs/tutorial/android-app.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'site/docs/tutorial') 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) -- cgit v1.2.3