From 1d3fa5964e3cd1fe0b245f63944a750969e622c2 Mon Sep 17 00:00:00 2001 From: Evgeni Margolis Date: Tue, 9 May 2023 13:17:43 -0700 Subject: [PATCH] [Doc] Updated SDK to 26 and NDK to 23.2.8568313 --- docs/guides/android_building.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/guides/android_building.md b/docs/guides/android_building.md index 6f693e38efa5e3..8bc480568e2230 100644 --- a/docs/guides/android_building.md +++ b/docs/guides/android_building.md @@ -42,7 +42,7 @@ directory. ## Requirements for building -You need Android SDK 21 & NDK 21.4.7075529 downloaded to your machine. Set the +You need Android SDK 26 & NDK 23.2.8568313 downloaded to your machine. Set the `$ANDROID_HOME` environment variable to where the SDK is downloaded and the `$ANDROID_NDK_HOME` environment variable to point to where the NDK package is downloaded. The build also requires `kotlinc` to be in your `$PATH`. @@ -51,15 +51,15 @@ downloaded. The build also requires `kotlinc` to be in your `$PATH`. 2. Install NDK: 1. Tools -> SDK Manager -> SDK Tools Tab 2. Click [x] Show Package Details - 3. Select NDK (Side by Side) -> 21.4.7075529 + 3. Select NDK (Side by Side) -> 23.2.8568313 4. Apply 3. Install Command Line Tools: 1. Tools -> SDK Manager -> SDK Tools Tab -> Android SDK Command Line Tools (latest) 2. Apply -4. Install SDK 21: - 1. Tools -> SDK Manager -> SDK Platforms Tab -> Android 5.0 (Lollipop) SDK - Level 21 +4. Install SDK 26: + 1. Tools -> SDK Manager -> SDK Platforms Tab -> Android 8.0 (Oreo) SDK Level + 26 2. Apply 5. Install Emulator: 1. Tools -> Device Manager -> Create device -> Pixel 5 -> Android S API 31 @@ -69,14 +69,14 @@ downloaded. The build also requires `kotlinc` to be in your `$PATH`. ``` export ANDROID_HOME=~/Android/Sdk -export ANDROID_NDK_HOME=~/Android/Sdk/ndk/21.4.7075529 +export ANDROID_NDK_HOME=~/Android/Sdk/ndk/23.2.8568313 ``` ### MacOS ``` export ANDROID_HOME=~/Library/Android/sdk -export ANDROID_NDK_HOME=~/Library/Android/sdk/ndk/21.4.7075529 +export ANDROID_NDK_HOME=~/Library/Android/sdk/ndk/23.2.8568313 ``` @@ -108,6 +108,7 @@ Android Studio Dolphin and below: ```shell export JAVA_HOME=/Applications/Android\ Studio.app/Contents/jre/Contents/Home/ ``` + Android Studio Electric Eel 2022.1.1 and above: ```shell