diff --git a/.github/workflows/build-android-e2e.yml b/.github/workflows/build-android-e2e.yml index f812b2317fd..b346c2dd319 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/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