From 7cfa5a7d88bc1794c45b3ab4b520ddf73f3dc5c2 Mon Sep 17 00:00:00 2001 From: Vladislav Tchyornyy Date: Wed, 16 Feb 2022 00:12:09 +0300 Subject: [PATCH] [docs] Updated Android environment documentation Signed-off-by: Vladislav Tchyornyy --- docs/INSTALL.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index fc57751cf9..6cda1fe61e 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -221,7 +221,7 @@ Install Android SDK and NDK: - Run the Android Studio. - Open "SDK Manager" (under "More Actions" in a welcome screen or a three-dot menu in a list of recent projects screen or "Tools" top menu item in an open project). -- Select "Android 11.0 (R) / API Level 30" SDK. +- Select "Android 12.0 (S) / API Level 31" SDK. - Switch to "SDK Tools" tab - Check "Show Package Details" checkbox. - Select "NDK (Side by side)" version **23.1.7779620**. @@ -242,10 +242,11 @@ _macOS:_ _Windows 10:_ no action needed, should work out of the box. -In Android Studio open the project in `android/` directory. -Make sure the Studio has at least 1920Mb max heap size in "File > Settings... > Appearance & Behavior > System Settings > Memory Settings", otherwise it might get stuck on "Updating indexes". +Make sure the Studio has at least 1920Mb max heap size in "File > Settings... > Appearance & Behavior > System Settings > Memory Settings" _before_ opening the project, otherwise it might get stuck on "Updating indexes". -Setup a virtual device to use [emulator]((https://developer.android.com/studio/run/emulator)) ("Tools > AVD Manager") or [use a hardware device for debugging](https://developer.android.com/studio/run/device). +In Android Studio open the project in `android/` directory. + +Setup a virtual device to use [emulator](https://developer.android.com/studio/run/emulator) ("Tools > Device Manager") or [use a hardware device for debugging](https://developer.android.com/studio/run/device). If using an emulator, make sure to choose a system image with API Level 31 and ABI _x86_64_. ### Building @@ -364,7 +365,7 @@ To add any of those options to in-studio builds list them in "Command-line Optio You can install [Android SDK](https://developer.android.com/sdk/index.html) and [NDK](https://developer.android.com/tools/sdk/ndk/index.html) without -Android Studio. Please make sure that SDK for API Level 30, +Android Studio. Please make sure that SDK for API Level 31, NDK version **23.1.7779620** and CMake version **3.18.1** are installed. If you are low on RAM, disk space or traffic there are ways to reduce system requirements: