Skip to content

Commit

Permalink
[Doc] Updated SDK to 26 and NDK to 23.2.8568313
Browse files Browse the repository at this point in the history
  • Loading branch information
emargolis committed May 9, 2023
1 parent d154372 commit 1d3fa59
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docs/guides/android_building.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand All @@ -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
Expand All @@ -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
```

<a name="abi"></a>
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1d3fa59

Please sign in to comment.