From 3e5b1d4fd1123a779d2606fd2353d4b7548ef281 Mon Sep 17 00:00:00 2001 From: adnxy Date: Fri, 8 May 2026 11:20:17 +0200 Subject: [PATCH 1/2] fix: add CMAKE_VERSION override to build.yml for RN 0.81 compatibility --- .github/workflows/build-android-e2e.yml | 5 ----- .github/workflows/build.yml | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-android-e2e.yml b/.github/workflows/build-android-e2e.yml index 20bf25768db..932bdfc0875 100644 --- a/.github/workflows/build-android-e2e.yml +++ b/.github/workflows/build-android-e2e.yml @@ -215,11 +215,6 @@ jobs: NODE_OPTIONS: '--max-old-space-size=4096' # Limit Metro workers to prevent OOM (each worker uses ~3GB) METRO_MAX_WORKERS: '4' - # React Native 0.81's ReactAndroid/build.gradle.kts requests CMake 3.30.5 - # via `System.getenv("CMAKE_VERSION") ?: "3.30.5"`. The self-hosted runner - # only ships CMake 3.22.1 in /opt/android-sdk/cmake/ and AGP cannot auto- - # download missing components, causing CXX1300. RN's CMakeLists.txt files - # only require >= 3.13, so 3.22.1 is fully sufficient. CMAKE_VERSION: '3.22.1' BRIDGE_USE_DEV_APIS: 'true' RAMP_INTERNAL_BUILD: 'true' diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b779012fce1..f1fec7c3236 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -425,6 +425,12 @@ jobs: timeout-minutes: 115 env: GIT_BRANCH: ${{ inputs.source_branch || github.ref_name }} + # React Native 0.81's ReactAndroid/build.gradle.kts requests CMake 3.30.5 + # via `System.getenv("CMAKE_VERSION") ?: "3.30.5"`. The self-hosted runner + # only ships CMake 3.22.1 in /opt/android-sdk/cmake/ and AGP cannot auto- + # download missing components, causing CXX1300. RN's CMakeLists.txt files + # only require >= 3.13, so 3.22.1 is fully sufficient. + CMAKE_VERSION: '3.22.1' uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 #v3.0.2 with: timeout_minutes: 55 From 1b90da834c31947bdc64af690f64d3bf53fb95de Mon Sep 17 00:00:00 2001 From: adnxy Date: Fri, 8 May 2026 16:47:49 +0200 Subject: [PATCH 2/2] fix: add CMAKE_VERSION override to bitrise.yml for RN 0.81 compatibility --- bitrise.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bitrise.yml b/bitrise.yml index 00ec50fa81e..5b3fd35d1a3 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -3526,6 +3526,9 @@ app: - opts: is_expand: false NDK_VERSION: 26.1.10909125 + - opts: + is_expand: false + CMAKE_VERSION: '3.22.1' - opts: is_expand: false QA_APK_NAME: app-qa-release