From 5704100557a5458bb73edf83e6f3d94064c1fd6a Mon Sep 17 00:00:00 2001 From: Roman Tsisyk Date: Wed, 8 Mar 2023 12:11:48 +0200 Subject: [PATCH 1/2] [android] Fix a crash in OsmLoginFragment Fixes #4716 Signed-off-by: Roman Tsisyk --- android/res/layout-land/fragment_osm_login.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/res/layout-land/fragment_osm_login.xml b/android/res/layout-land/fragment_osm_login.xml index b7a61d5d8c..aa909e26bb 100644 --- a/android/res/layout-land/fragment_osm_login.xml +++ b/android/res/layout-land/fragment_osm_login.xml @@ -37,7 +37,7 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> Date: Thu, 9 Mar 2023 19:04:34 +0100 Subject: [PATCH 2/2] [docs] disable cpp folder indexing on android Signed-off-by: Arnaud Vergnet --- docs/INSTALL.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 02f5b76ed7..1775f1443a 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -458,6 +458,7 @@ Android Studio. Please make sure that SDK for API Level 33, NDK version **25.2.9519653** and CMake version **3.22.1** are installed. If you are low on RAM, disk space or traffic there are ways to reduce system requirements: +- exclude the `cpp` folder from indexing. If you do not make any work on the C++ code, this will greatly improve the startup performance and the ram usage of Android Studio. Click on the `Project` tab on the left, find the `cpp` folder (should be next to the `java` folder), right click on it and select `Mark Directory as` -> `Excluded` (red folder icon). Then restart Android Studio. - in Android Studio enable "File > Power Save Mode"; - don't install Android Studio, run builds and emulator from command line; - build only for target arches you actually need, e.g. `arm64`; -- 2.45.3