
> echo Attempting build for upryzing-clerotri with Node 22 and jdk 17
Attempting build for upryzing-clerotri with Node 22 and jdk 17

> docker run --rm -v /home/ubuntu/storage/extracted/upryzing-clerotri/clerotri-ca13abe19b6ca2753bfee550f1310aa2a55209f3:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/RN/output/upryzing-clerotri:/output -v /home/ubuntu/.npm:/root/.npm react-android:22-jdk17 bash -c 
                set -e

                cp -r /source/. /app &&                 cd /app && 
                # ---- install deps (yarn or npm) ----
                if [ -f yarn.lock ]; then
                    yarn install;
                else
                    npm install --ignore-scripts;
                fi && 
                # ---- stub missing google-services.json (Firebase/Expo prebuild) ----
                if [ ! -f google-services.json ]; then                     python3 -c "import json; open('google-services.json','w').write(json.dumps({'project_info':{'project_number':'000000000000','project_id':'stub','storage_bucket':'stub.appspot.com'},'client':[{'client_info':{'mobilesdk_app_id':'1:000000000000:android:0000000000000000','android_client_info':{'package_name':'com.stub'}},'oauth_client':[],'api_key':[{'current_key':'stub'}],'services':{'appinvite_service':{'other_platform_oauth_client':[]}}}],'configuration_version':'1'}))" 2>/dev/null || true;                 fi && 
                # ---- detect expo ----
                if grep -q '"expo"' package.json && [ ! -d android ]; then
                    echo "Expo project detected";
                    CI=1 npx --yes expo prebuild --platform android
                fi && 
                export PATH="/app/node_modules/.bin:$PATH" &&                 cd android && 
                chmod +x gradlew && 
                # ---- inject fallback repositories via Gradle init script ----
                mkdir -p $GRADLE_USER_HOME/init.d &&                 echo 'gradle.beforeProject {project ->' > $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  project.buildscript.repositories {' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://maven.google.com"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://repo1.maven.org/maven2"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://plugins.gradle.org/m2/"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://jitpack.io"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  }' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  project.repositories {' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://maven.google.com"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://repo1.maven.org/maven2"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://plugins.gradle.org/m2/"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://jitpack.io"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  }' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '}' >> $GRADLE_USER_HOME/init.d/repos.gradle && 
                # ---- patch settings.gradle to use local react-native CLI (avoids npx failures) ----
                sed -i 's/autolinkLibrariesWithCommand()/autolinkLibrariesWithCommand("node node_modules\/.bin\/react-native config")/' settings.gradle 2>/dev/null || true && 
                # ---- clean gradle ----
                (./gradlew clean || true) && 
                # ---- pre-resolve AAR transforms so CMake finds prefab paths ----
                ./gradlew :app:dependencies --configuration debugCompileClasspath --no-daemon > /dev/null 2>&1 || true && 
                # ---- enable ABI splits ----
                if grep -q 'splits' app/build.gradle 2>/dev/null; then                     sed -i 's/enable false/enable true/' app/build.gradle || true;                 else                     sed -i '/^android[[:space:]]*{/a\    splits {\n        abi {\n            reset()\n            enable true\n            universalApk false\n            include "armeabi-v7a", "arm64-v8a", "x86", "x86_64"\n        }\n    }' app/build.gradle || true;                 fi && 
                # ---- build debug apk ----
                ./gradlew assembleDebug --no-daemon || exit 1 && 
                APK_PATH="app/build/outputs/apk/debug"

                if ! ls $APK_PATH/*.apk 1> /dev/null 2>&1; then
                    echo "ERROR: APK not generated"
                    exit 1
                fi
                # ---- copy output ----
                cp app/build/outputs/apk/debug/*.apk /output/

                # ---- copy TPL metadata ----
                [ -f ../package.json ] && cp ../package.json /output/ || true
                [ -f ../package-lock.json ] && cp ../package-lock.json /output/ || true
                [ -f ../yarn.lock ] && cp ../yarn.lock /output/ || true
                [ -f ../pnpm-lock.yaml ] && cp ../pnpm-lock.yaml /output/ || true
                [ -f app/build.gradle ] && cp app/build.gradle /output/android-build.gradle || true
                [ -f build.gradle ] && cp build.gradle /output/root-build.gradle || true
                [ -f build.gradle.kts ] && cp build.gradle.kts /output/root-build.gradle.kts || true
                [ -f settings.gradle ] && cp settings.gradle /output/ || true
                [ -f settings.gradle.kts ] && cp settings.gradle.kts /output/ || true
                [ -f gradle/libs.versions.toml ] && cp gradle/libs.versions.toml /output/ || true
                find . -name "*.gradle" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true
                find . -name "*.gradle.kts" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/ 2>/dev/null; done || true
                mkdir -p /output/libs
                find . -name "*.jar" -not -name "gradle-wrapper.jar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true
                find . -name "*.aar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true
                find . -name "*.so" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/libs/ 2>/dev/null; done || true
                    
! Corepack is about to download https://repo.yarnpkg.com/4.16.0/packages/yarnpkg-cli/bin/yarn.js
➤ YN0000: · Yarn 4.16.0
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 0s 326ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0060: │ react is listed by your project with version 19.2.3 (pbface4), which doesn't satisfy what react-native-web and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ react-dom is listed by your project with version 19.2.3 (p332701), which doesn't satisfy what react-native-web and other dependencies request (^18.0.0).
➤ YN0002: │ rvmob@workspace:. doesn't provide @react-native/normalize-colors (p75b093), requested by react-native-unistyles.
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 952 packages were added to the project (+ 462.06 MiB).
➤ YN0000: └ Completed in 18s 736ms
➤ YN0000: ┌ Link step
➤ YN0007: │ esbuild@npm:0.28.1 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 17s 155ms
➤ YN0000: · Done with warnings in 36s 448ms
Downloading https://services.gradle.org/distributions/gradle-9.3.1-bin.zip
.............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%.............100%

Welcome to Gradle 9.3.1!

Here are the highlights of this release:
 - Test reporting improvements
 - Error and warning improvements
 - Build authoring improvements

For more details see https://docs.gradle.org/9.3.1/release-notes.html

To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/9.3.1/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build 
> Task :gradle-plugin:settings-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:shared:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:shared:processResources NO-SOURCE
> Task :gradle-plugin:settings-plugin:pluginDescriptors
> Task :gradle-plugin:settings-plugin:processResources
> Task :gradle-plugin:shared:compileKotlin
> Task :gradle-plugin:shared:compileJava NO-SOURCE
> Task :gradle-plugin:shared:classes UP-TO-DATE
> Task :gradle-plugin:shared:jar
> Task :gradle-plugin:settings-plugin:compileKotlin
> Task :gradle-plugin:settings-plugin:compileJava NO-SOURCE
> Task :gradle-plugin:settings-plugin:classes
> Task :gradle-plugin:settings-plugin:jar
> Task :gradle-plugin:react-native-gradle-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:react-native-gradle-plugin:pluginDescriptors
> Task :gradle-plugin:react-native-gradle-plugin:processResources
> Task :gradle-plugin:react-native-gradle-plugin:compileKotlin
> Task :gradle-plugin:react-native-gradle-plugin:compileJava NO-SOURCE
> Task :gradle-plugin:react-native-gradle-plugin:classes
> Task :gradle-plugin:react-native-gradle-plugin:jar

> Configure project :app
Checking the license for package NDK (Side by side) 27.1.12297006 in /opt/android/licenses
License for package NDK (Side by side) 27.1.12297006 accepted.
Preparing "Install NDK (Side by side) 27.1.12297006 v.27.1.12297006".
"Install NDK (Side by side) 27.1.12297006 v.27.1.12297006" ready.
Installing NDK (Side by side) 27.1.12297006 in /opt/android/ndk/27.1.12297006
"Install NDK (Side by side) 27.1.12297006 v.27.1.12297006" complete.
"Install NDK (Side by side) 27.1.12297006 v.27.1.12297006" finished.

> Configure project :notifee_react-native
:notifee_react-native @notifee/react-native found at /app/node_modules/@notifee/react-native
:notifee_react-native package.json found at /app/node_modules/@notifee/react-native/package.json
:notifee_react-native:version set from package.json: 9.1.8 (9,1,8 - 9001008)
:notifee_react-native:android.compileSdk using custom value: 36
:notifee_react-native:android.targetSdk using custom value: 36
:notifee_react-native:android.minSdk using custom value: 24
:notifee_react-native:reactNativeAndroidDir /app/node_modules/react-native

> Configure project :react-native-mmkv
[NitroModules] ? NitroMmkv is boosted by nitro!

> Configure project :react-native-nitro-modules
[NitroModules] ? Your app is boosted by nitro modules!

> Configure project :react-native-unistyles
[NitroModules] ? unistyles is boosted by nitro!
Checking the license for package NDK (Side by side) 27.0.12077973 in /opt/android/licenses
License for package NDK (Side by side) 27.0.12077973 accepted.
Preparing "Install NDK (Side by side) 27.0.12077973 v.27.0.12077973".
"Install NDK (Side by side) 27.0.12077973 v.27.0.12077973" ready.
Installing NDK (Side by side) 27.0.12077973 in /opt/android/ndk/27.0.12077973
"Install NDK (Side by side) 27.0.12077973 v.27.0.12077973" complete.
"Install NDK (Side by side) 27.0.12077973 v.27.0.12077973" finished.

> Task :app:externalNativeBuildCleanDebug
> Task :app:externalNativeBuildCleanDebugOptimized
> Task :app:externalNativeBuildCleanRelease
> Task :app:clean UP-TO-DATE
> Task :notifee_react-native:clean UP-TO-DATE
> Task :react-native-clipboard_clipboard:clean UP-TO-DATE
> Task :react-native-device-info:clean UP-TO-DATE
> Task :react-native-documents_picker:clean UP-TO-DATE
> Task :react-native-gesture-handler:externalNativeBuildCleanDebug
> Task :react-native-gesture-handler:externalNativeBuildCleanRelease
> Task :react-native-gesture-handler:clean UP-TO-DATE
> Task :react-native-get-random-values:clean UP-TO-DATE
> Task :react-native-keyboard-controller:clean UP-TO-DATE
> Task :react-native-mmkv:externalNativeBuildCleanDebug
> Task :react-native-mmkv:externalNativeBuildCleanRelease
> Task :react-native-mmkv:clean UP-TO-DATE
> Task :react-native-nitro-modules:externalNativeBuildCleanDebug
> Task :react-native-nitro-modules:externalNativeBuildCleanRelease
> Task :react-native-nitro-modules:clean
> Task :react-native-reanimated:externalNativeBuildCleanDebug
> Task :react-native-reanimated:externalNativeBuildCleanRelease
> Task :react-native-reanimated:clean
> Task :react-native-reanimated:cleanCMakeCache
> Task :react-native-safe-area-context:clean UP-TO-DATE
> Task :react-native-svg:clean UP-TO-DATE
> Task :react-native-unistyles:externalNativeBuildCleanDebug
> Task :react-native-unistyles:externalNativeBuildCleanRelease
> Task :react-native-unistyles:clean UP-TO-DATE
> Task :react-native-vector-icons_material-design-icons:clean UP-TO-DATE
> Task :react-native-vector-icons_material-icons:clean UP-TO-DATE
> Task :react-native-worklets:externalNativeBuildCleanDebug
> Task :react-native-worklets:externalNativeBuildCleanRelease
> Task :react-native-worklets:clean
> Task :react-native-worklets:cleanCMakeCache

[Incubating] Problems report is available at: file:///app/android/build/reports/problems/problems-report.html

Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/9.3.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD SUCCESSFUL in 7m 22s
44 actionable tasks: 30 executed, 14 up-to-date
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/9.3.1/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build 
> Task :gradle-plugin:settings-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:shared:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:shared:compileKotlin UP-TO-DATE
> Task :gradle-plugin:shared:compileJava NO-SOURCE
> Task :gradle-plugin:shared:processResources NO-SOURCE
> Task :gradle-plugin:shared:classes UP-TO-DATE
> Task :gradle-plugin:shared:jar UP-TO-DATE
> Task :gradle-plugin:settings-plugin:compileKotlin UP-TO-DATE
> Task :gradle-plugin:settings-plugin:compileJava NO-SOURCE
> Task :gradle-plugin:settings-plugin:pluginDescriptors UP-TO-DATE
> Task :gradle-plugin:settings-plugin:processResources UP-TO-DATE
> Task :gradle-plugin:settings-plugin:classes UP-TO-DATE
> Task :gradle-plugin:settings-plugin:jar UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:react-native-gradle-plugin:compileKotlin UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:compileJava NO-SOURCE
> Task :gradle-plugin:react-native-gradle-plugin:pluginDescriptors UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:processResources UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:classes UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:jar UP-TO-DATE

> Configure project :notifee_react-native
:notifee_react-native @notifee/react-native found at /app/node_modules/@notifee/react-native
:notifee_react-native package.json found at /app/node_modules/@notifee/react-native/package.json
:notifee_react-native:version set from package.json: 9.1.8 (9,1,8 - 9001008)
:notifee_react-native:android.compileSdk using custom value: 36
:notifee_react-native:android.targetSdk using custom value: 36
:notifee_react-native:android.minSdk using custom value: 24
:notifee_react-native:reactNativeAndroidDir /app/node_modules/react-native

> Configure project :react-native-mmkv
[NitroModules] ? NitroMmkv is boosted by nitro!

> Configure project :react-native-nitro-modules
[NitroModules] ? Your app is boosted by nitro modules!

> Configure project :react-native-unistyles
[NitroModules] ? unistyles is boosted by nitro!
Checking the license for package Android SDK Build-Tools 36 in /opt/android/licenses
License for package Android SDK Build-Tools 36 accepted.
Preparing "Install Android SDK Build-Tools 36 v.36.0.0".
"Install Android SDK Build-Tools 36 v.36.0.0" ready.
Installing Android SDK Build-Tools 36 in /opt/android/build-tools/36.0.0
"Install Android SDK Build-Tools 36 v.36.0.0" complete.
"Install Android SDK Build-Tools 36 v.36.0.0" finished.
Checking the license for package Android SDK Platform 36 in /opt/android/licenses
License for package Android SDK Platform 36 accepted.
Preparing "Install Android SDK Platform 36 (revision 2)".
"Install Android SDK Platform 36 (revision 2)" ready.
Installing Android SDK Platform 36 in /opt/android/platforms/android-36
"Install Android SDK Platform 36 (revision 2)" complete.
"Install Android SDK Platform 36 (revision 2)" finished.
[=========                              ] 25%                                   
Checking the license for package Android SDK Build-Tools 35 in /opt/android/licenses
License for package Android SDK Build-Tools 35 accepted.
Preparing "Install Android SDK Build-Tools 35 v.35.0.0".
"Install Android SDK Build-Tools 35 v.35.0.0" ready.
Installing Android SDK Build-Tools 35 in /opt/android/build-tools/35.0.0
"Install Android SDK Build-Tools 35 v.35.0.0" complete.
"Install Android SDK Build-Tools 35 v.35.0.0" finished.
[=========                              ] 25%                                   
> Task :app:generateAutolinkingNewArchitectureFiles
> Task :app:generateAutolinkingPackageList
> Task :app:generateCodegenSchemaFromJavaScript SKIPPED
> Task :app:generateCodegenArtifactsFromSchema SKIPPED
> Task :app:generateReactNativeEntryPoint
> Task :notifee_react-native:preBuild UP-TO-DATE
> Task :react-native-clipboard_clipboard:generateCodegenSchemaFromJavaScript
> Task :react-native-clipboard_clipboard:generateCodegenArtifactsFromSchema
> Task :react-native-clipboard_clipboard:preBuild
> Task :react-native-device-info:preBuild UP-TO-DATE
> Task :react-native-documents_picker:generateCodegenSchemaFromJavaScript
> Task :react-native-documents_picker:generateCodegenArtifactsFromSchema
> Task :react-native-documents_picker:preBuild
> Task :react-native-gesture-handler:generateCodegenSchemaFromJavaScript
> Task :react-native-gesture-handler:generateCodegenArtifactsFromSchema
> Task :react-native-gesture-handler:preBuild
> Task :react-native-get-random-values:generateCodegenSchemaFromJavaScript
> Task :react-native-get-random-values:generateCodegenArtifactsFromSchema
> Task :react-native-get-random-values:preBuild
> Task :react-native-keyboard-controller:generateCodegenSchemaFromJavaScript
> Task :react-native-keyboard-controller:generateCodegenArtifactsFromSchema
> Task :react-native-keyboard-controller:preBuild

> Task :react-native-mmkv:generateCodegenSchemaFromJavaScript
No modules to process in combine-js-to-schema-cli. If this is unexpected, please check if you set up your NativeComponent correctly. See combine-js-to-schema.js for how codegen finds modules.

> Task :react-native-mmkv:generateCodegenArtifactsFromSchema
> Task :react-native-mmkv:preBuild
> Task :react-native-nitro-modules:generateCodegenSchemaFromJavaScript
> Task :react-native-nitro-modules:generateCodegenArtifactsFromSchema
> Task :react-native-nitro-modules:prepareHeaders
> Task :react-native-nitro-modules:preBuild
> Task :react-native-reanimated:assertMinimalReactNativeVersionTask
> Task :react-native-reanimated:assertWorkletsVersionTask
> Task :react-native-reanimated:generateCodegenSchemaFromJavaScript
> Task :react-native-reanimated:generateCodegenArtifactsFromSchema
> Task :react-native-reanimated:prepareReanimatedHeadersForPrefabs
> Task :react-native-reanimated:preBuild
> Task :react-native-safe-area-context:generateCodegenSchemaFromJavaScript
> Task :react-native-safe-area-context:generateCodegenArtifactsFromSchema
> Task :react-native-safe-area-context:preBuild
> Task :react-native-svg:generateCodegenSchemaFromJavaScript
> Task :react-native-svg:generateCodegenArtifactsFromSchema
> Task :react-native-svg:preBuild
> Task :react-native-unistyles:checkNativeTurboUnistylesSpec
> Task :react-native-unistyles:generateCodegenSchemaFromJavaScript
> Task :react-native-unistyles:generateCodegenArtifactsFromSchema
> Task :react-native-unistyles:preBuild

> Task :react-native-vector-icons_material-design-icons:copyFonts
(RNVI:material-design-icons) Copying font /app/node_modules/@react-native-vector-icons/material-design-icons/fonts/MaterialDesignIcons.ttf

> Task :react-native-vector-icons_material-design-icons:generateCodegenSchemaFromJavaScript
No modules to process in combine-js-to-schema-cli. If this is unexpected, please check if you set up your NativeComponent correctly. See combine-js-to-schema.js for how codegen finds modules.

> Task :react-native-vector-icons_material-design-icons:generateCodegenArtifactsFromSchema
> Task :react-native-vector-icons_material-design-icons:preBuild

> Task :react-native-vector-icons_material-icons:copyFonts
(RNVI:material-icons) Copying font /app/node_modules/@react-native-vector-icons/material-icons/fonts/MaterialIcons.ttf

> Task :react-native-vector-icons_material-icons:generateCodegenSchemaFromJavaScript
No modules to process in combine-js-to-schema-cli. If this is unexpected, please check if you set up your NativeComponent correctly. See combine-js-to-schema.js for how codegen finds modules.

> Task :react-native-vector-icons_material-icons:generateCodegenArtifactsFromSchema
> Task :react-native-vector-icons_material-icons:preBuild
> Task :react-native-worklets:assertMinimalReactNativeVersionTask
> Task :react-native-worklets:generateCodegenSchemaFromJavaScript
> Task :react-native-worklets:generateCodegenArtifactsFromSchema
> Task :react-native-worklets:prepareWorkletsHeadersForPrefabs
> Task :react-native-worklets:preBuild
> Task :app:preBuild
> Task :app:preDebugBuild
> Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
> Task :app:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :app:generateDebugBuildConfig
> Task :notifee_react-native:preDebugBuild UP-TO-DATE
> Task :react-native-clipboard_clipboard:preDebugBuild
> Task :react-native-device-info:preDebugBuild UP-TO-DATE
> Task :react-native-documents_picker:preDebugBuild
> Task :react-native-gesture-handler:preDebugBuild
> Task :react-native-documents_picker:writeDebugAarMetadata
> Task :notifee_react-native:writeDebugAarMetadata
> Task :react-native-device-info:writeDebugAarMetadata
> Task :react-native-clipboard_clipboard:writeDebugAarMetadata
> Task :react-native-get-random-values:preDebugBuild
> Task :react-native-gesture-handler:writeDebugAarMetadata
> Task :react-native-keyboard-controller:preDebugBuild
> Task :react-native-get-random-values:writeDebugAarMetadata
> Task :react-native-mmkv:preDebugBuild
> Task :react-native-keyboard-controller:writeDebugAarMetadata
> Task :react-native-nitro-modules:preDebugBuild
> Task :react-native-mmkv:writeDebugAarMetadata
> Task :react-native-reanimated:preDebugBuild
> Task :react-native-nitro-modules:writeDebugAarMetadata
> Task :react-native-safe-area-context:preDebugBuild
> Task :react-native-reanimated:writeDebugAarMetadata
> Task :react-native-svg:preDebugBuild
> Task :react-native-safe-area-context:writeDebugAarMetadata
> Task :react-native-svg:writeDebugAarMetadata
> Task :react-native-unistyles:preDebugBuild
> Task :react-native-vector-icons_material-design-icons:preDebugBuild
> Task :react-native-unistyles:writeDebugAarMetadata
> Task :react-native-vector-icons_material-icons:preDebugBuild
> Task :react-native-vector-icons_material-design-icons:writeDebugAarMetadata
> Task :react-native-worklets:preDebugBuild
> Task :react-native-vector-icons_material-icons:writeDebugAarMetadata
> Task :react-native-worklets:writeDebugAarMetadata
> Task :app:generateDebugResValues
> Task :notifee_react-native:generateDebugResValues
> Task :app:checkDebugAarMetadata
> Task :notifee_react-native:generateDebugResources
> Task :notifee_react-native:packageDebugResources
> Task :react-native-clipboard_clipboard:generateDebugResValues
> Task :react-native-clipboard_clipboard:generateDebugResources
> Task :react-native-clipboard_clipboard:packageDebugResources
> Task :react-native-device-info:generateDebugResValues
> Task :react-native-device-info:generateDebugResources
> Task :react-native-device-info:packageDebugResources
> Task :react-native-documents_picker:generateDebugResValues
> Task :react-native-documents_picker:generateDebugResources
> Task :react-native-documents_picker:packageDebugResources
> Task :react-native-gesture-handler:generateDebugResValues
> Task :react-native-gesture-handler:generateDebugResources
> Task :react-native-gesture-handler:packageDebugResources
> Task :react-native-get-random-values:generateDebugResValues
> Task :react-native-get-random-values:generateDebugResources
> Task :react-native-get-random-values:packageDebugResources
> Task :react-native-keyboard-controller:generateDebugResValues
> Task :react-native-keyboard-controller:generateDebugResources
> Task :react-native-keyboard-controller:packageDebugResources
> Task :react-native-mmkv:generateDebugResValues
> Task :react-native-mmkv:generateDebugResources
> Task :react-native-mmkv:packageDebugResources
> Task :react-native-nitro-modules:generateDebugResValues
> Task :react-native-nitro-modules:generateDebugResources
> Task :react-native-nitro-modules:packageDebugResources
> Task :react-native-reanimated:generateDebugResValues
> Task :react-native-reanimated:generateDebugResources
> Task :react-native-reanimated:packageDebugResources
> Task :react-native-safe-area-context:generateDebugResValues
> Task :react-native-safe-area-context:generateDebugResources
> Task :react-native-safe-area-context:packageDebugResources
> Task :react-native-svg:generateDebugResValues
> Task :react-native-svg:generateDebugResources
> Task :react-native-svg:packageDebugResources
> Task :react-native-unistyles:generateDebugResValues
> Task :react-native-unistyles:generateDebugResources
> Task :react-native-unistyles:packageDebugResources
> Task :react-native-vector-icons_material-design-icons:generateDebugResValues
> Task :react-native-vector-icons_material-design-icons:generateDebugResources
> Task :react-native-vector-icons_material-design-icons:packageDebugResources
> Task :react-native-vector-icons_material-icons:generateDebugResValues
> Task :react-native-vector-icons_material-icons:generateDebugResources
> Task :react-native-vector-icons_material-icons:packageDebugResources
> Task :react-native-worklets:generateDebugResValues
> Task :react-native-worklets:generateDebugResources
> Task :react-native-worklets:packageDebugResources
> Task :app:mapDebugSourceSetPaths
> Task :app:generateDebugResources
> Task :app:packageDebugResources
> Task :app:mergeDebugResources
> Task :app:createDebugCompatibleScreenManifests
> Task :app:extractDeepLinksDebug
> Task :notifee_react-native:extractDeepLinksDebug
> Task :react-native-clipboard_clipboard:extractDeepLinksDebug
> Task :react-native-device-info:extractDeepLinksDebug
> Task :react-native-documents_picker:extractDeepLinksDebug
> Task :react-native-gesture-handler:extractDeepLinksDebug
> Task :react-native-get-random-values:extractDeepLinksDebug
> Task :react-native-keyboard-controller:extractDeepLinksDebug
> Task :app:parseDebugLocalResources
> Task :react-native-mmkv:extractDeepLinksDebug
> Task :react-native-gesture-handler:processDebugManifest
> Task :react-native-documents_picker:processDebugManifest
> Task :react-native-mmkv:processDebugManifest

> Task :react-native-device-info:processDebugManifest
package="com.learnium.RNDeviceInfo" found in source AndroidManifest.xml: /app/node_modules/react-native-device-info/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="com.learnium.RNDeviceInfo" from the source AndroidManifest.xml: /app/node_modules/react-native-device-info/android/src/main/AndroidManifest.xml.

> Task :react-native-keyboard-controller:processDebugManifest
package="com.reactnativekeyboardcontroller" found in source AndroidManifest.xml: /app/node_modules/react-native-keyboard-controller/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="com.reactnativekeyboardcontroller" from the source AndroidManifest.xml: /app/node_modules/react-native-keyboard-controller/android/src/main/AndroidManifest.xml.

> Task :react-native-get-random-values:processDebugManifest

> Task :notifee_react-native:processDebugManifest
package="io.invertase.notifee" found in source AndroidManifest.xml: /app/node_modules/@notifee/react-native/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="io.invertase.notifee" from the source AndroidManifest.xml: /app/node_modules/@notifee/react-native/android/src/main/AndroidManifest.xml.

> Task :react-native-clipboard_clipboard:processDebugManifest
> Task :react-native-nitro-modules:extractDeepLinksDebug
> Task :react-native-reanimated:extractDeepLinksDebug
> Task :react-native-nitro-modules:processDebugManifest
> Task :react-native-reanimated:processDebugManifest
> Task :react-native-safe-area-context:extractDeepLinksDebug
> Task :react-native-svg:extractDeepLinksDebug

> Task :react-native-safe-area-context:processDebugManifest
package="com.th3rdwave.safeareacontext" found in source AndroidManifest.xml: /app/node_modules/react-native-safe-area-context/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
Recommendation: remove package="com.th3rdwave.safeareacontext" from the source AndroidManifest.xml: /app/node_modules/react-native-safe-area-context/android/src/main/AndroidManifest.xml.

> Task :react-native-unistyles:extractDeepLinksDebug
> Task :react-native-svg:processDebugManifest
> Task :react-native-vector-icons_material-design-icons:extractDeepLinksDebug
> Task :react-native-unistyles:processDebugManifest
> Task :react-native-vector-icons_material-design-icons:processDebugManifest
> Task :react-native-vector-icons_material-icons:extractDeepLinksDebug
> Task :react-native-worklets:extractDeepLinksDebug
> Task :react-native-vector-icons_material-icons:processDebugManifest
> Task :react-native-worklets:processDebugManifest
> Task :notifee_react-native:compileDebugLibraryResources
> Task :app:processDebugMainManifest
> Task :app:processDebugManifest
> Task :notifee_react-native:parseDebugLocalResources
> Task :react-native-clipboard_clipboard:compileDebugLibraryResources
> Task :react-native-clipboard_clipboard:parseDebugLocalResources
> Task :react-native-device-info:compileDebugLibraryResources
> Task :app:processDebugManifestForPackage
> Task :react-native-documents_picker:compileDebugLibraryResources
> Task :react-native-device-info:parseDebugLocalResources
> Task :react-native-documents_picker:parseDebugLocalResources
> Task :notifee_react-native:generateDebugRFile
> Task :react-native-clipboard_clipboard:generateDebugRFile
> Task :react-native-gesture-handler:compileDebugLibraryResources
> Task :react-native-device-info:generateDebugRFile
> Task :react-native-documents_picker:generateDebugRFile
> Task :react-native-get-random-values:compileDebugLibraryResources
> Task :react-native-gesture-handler:parseDebugLocalResources
> Task :react-native-get-random-values:parseDebugLocalResources
> Task :react-native-keyboard-controller:compileDebugLibraryResources
> Task :react-native-get-random-values:generateDebugRFile
> Task :react-native-gesture-handler:generateDebugRFile
> Task :react-native-keyboard-controller:parseDebugLocalResources
> Task :react-native-mmkv:compileDebugLibraryResources
> Task :react-native-mmkv:parseDebugLocalResources
> Task :react-native-keyboard-controller:generateDebugRFile
> Task :react-native-nitro-modules:compileDebugLibraryResources
> Task :react-native-mmkv:generateDebugRFile
> Task :react-native-reanimated:compileDebugLibraryResources
> Task :react-native-nitro-modules:parseDebugLocalResources
> Task :react-native-reanimated:parseDebugLocalResources
> Task :react-native-safe-area-context:compileDebugLibraryResources
> Task :react-native-nitro-modules:generateDebugRFile
> Task :react-native-reanimated:generateDebugRFile
> Task :react-native-svg:compileDebugLibraryResources
> Task :react-native-safe-area-context:parseDebugLocalResources
> Task :react-native-svg:parseDebugLocalResources
> Task :react-native-safe-area-context:generateDebugRFile
> Task :react-native-svg:generateDebugRFile
> Task :react-native-unistyles:compileDebugLibraryResources
> Task :react-native-unistyles:parseDebugLocalResources
> Task :react-native-vector-icons_material-design-icons:compileDebugLibraryResources
> Task :react-native-unistyles:generateDebugRFile
> Task :react-native-vector-icons_material-design-icons:parseDebugLocalResources
> Task :react-native-vector-icons_material-icons:compileDebugLibraryResources
> Task :react-native-worklets:compileDebugLibraryResources
> Task :react-native-vector-icons_material-icons:parseDebugLocalResources
> Task :react-native-vector-icons_material-design-icons:generateDebugRFile
> Task :react-native-worklets:parseDebugLocalResources
> Task :react-native-vector-icons_material-icons:generateDebugRFile
> Task :react-native-worklets:generateDebugRFile
> Task :notifee_react-native:generateDebugBuildConfig
> Task :react-native-clipboard_clipboard:generateDebugBuildConfig
> Task :notifee_react-native:javaPreCompileDebug
> Task :react-native-clipboard_clipboard:javaPreCompileDebug
> Task :app:processDebugResources
/app/node_modules/@notifee/react-native/android/src/main/java/io/invertase/notifee/NotifeeApiModule.java:42: warning: [removal] onCatalystInstanceDestroy() in NativeModule has been deprecated and marked for removal
  public void onCatalystInstanceDestroy() {
              ^

> Task :notifee_react-native:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 warning

> Task :notifee_react-native:bundleLibCompileToJarDebug

> Task :react-native-clipboard_clipboard:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /app/node_modules/@react-native-clipboard/clipboard/android/src/main/java/com/reactnativecommunity/clipboard/ClipboardPackage.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :react-native-clipboard_clipboard:bundleLibCompileToJarDebug
> Task :react-native-device-info:generateDebugBuildConfig
> Task :react-native-documents_picker:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :react-native-device-info:javaPreCompileDebug
> Task :react-native-documents_picker:generateDebugBuildConfig

> Task :react-native-device-info:compileDebugJavaWithJavac

> Task :react-native-device-info:bundleLibCompileToJarDebug
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :react-native-gesture-handler:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :react-native-documents_picker:javaPreCompileDebug
> Task :react-native-gesture-handler:generateDebugBuildConfig
> Task :react-native-reanimated:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :react-native-reanimated:generateDebugBuildConfig
> Task :react-native-worklets:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :react-native-worklets:generateDebugBuildConfig
> Task :react-native-reanimated:javaPreCompileDebug
> Task :react-native-worklets:javaPreCompileDebug
> Task :react-native-svg:generateDebugBuildConfig
> Task :react-native-svg:javaPreCompileDebug
> Task :react-native-gesture-handler:javaPreCompileDebug
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :react-native-svg:compileDebugJavaWithJavac

> Task :react-native-get-random-values:generateDebugBuildConfig
> Task :react-native-keyboard-controller:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :react-native-get-random-values:javaPreCompileDebug
> Task :react-native-keyboard-controller:generateDebugBuildConfig
> Task :react-native-svg:bundleLibCompileToJarDebug
> Task :react-native-get-random-values:compileDebugJavaWithJavac
> Task :react-native-get-random-values:bundleLibCompileToJarDebug
> Task :react-native-mmkv:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :react-native-keyboard-controller:javaPreCompileDebug
> Task :react-native-mmkv:generateDebugBuildConfig
> Task :react-native-nitro-modules:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :react-native-nitro-modules:generateDebugBuildConfig
> Task :react-native-nitro-modules:javaPreCompileDebug
> Task :react-native-safe-area-context:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :react-native-mmkv:javaPreCompileDebug
> Task :react-native-safe-area-context:generateDebugBuildConfig
> Task :react-native-unistyles:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :react-native-safe-area-context:javaPreCompileDebug
> Task :react-native-unistyles:generateDebugBuildConfig
> Task :react-native-vector-icons_material-design-icons:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :react-native-unistyles:javaPreCompileDebug
> Task :react-native-vector-icons_material-design-icons:generateDebugBuildConfig
> Task :react-native-vector-icons_material-icons:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :react-native-vector-icons_material-icons:generateDebugBuildConfig
> Task :react-native-vector-icons_material-design-icons:javaPreCompileDebug
> Task :react-native-vector-icons_material-icons:javaPreCompileDebug
> Task :app:javaPreCompileDebug
> Task :app:mergeDebugShaders
> Task :app:compileDebugShaders NO-SOURCE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :notifee_react-native:mergeDebugShaders
> Task :notifee_react-native:compileDebugShaders NO-SOURCE
> Task :notifee_react-native:generateDebugAssets UP-TO-DATE
> Task :notifee_react-native:mergeDebugAssets
> Task :react-native-clipboard_clipboard:mergeDebugShaders
> Task :react-native-clipboard_clipboard:compileDebugShaders NO-SOURCE
> Task :react-native-clipboard_clipboard:generateDebugAssets UP-TO-DATE
> Task :react-native-clipboard_clipboard:mergeDebugAssets
> Task :react-native-device-info:mergeDebugShaders
> Task :react-native-device-info:compileDebugShaders NO-SOURCE
> Task :react-native-device-info:generateDebugAssets UP-TO-DATE
> Task :react-native-device-info:mergeDebugAssets
> Task :react-native-documents_picker:mergeDebugShaders
> Task :react-native-documents_picker:compileDebugShaders NO-SOURCE
> Task :react-native-documents_picker:generateDebugAssets UP-TO-DATE
> Task :react-native-documents_picker:mergeDebugAssets
> Task :react-native-gesture-handler:mergeDebugShaders
> Task :react-native-gesture-handler:compileDebugShaders NO-SOURCE
> Task :react-native-gesture-handler:generateDebugAssets UP-TO-DATE
> Task :react-native-gesture-handler:mergeDebugAssets
> Task :react-native-get-random-values:mergeDebugShaders
> Task :react-native-get-random-values:compileDebugShaders NO-SOURCE
> Task :react-native-get-random-values:generateDebugAssets UP-TO-DATE
> Task :react-native-get-random-values:mergeDebugAssets
> Task :react-native-keyboard-controller:mergeDebugShaders
> Task :react-native-keyboard-controller:compileDebugShaders NO-SOURCE
> Task :react-native-keyboard-controller:generateDebugAssets UP-TO-DATE
> Task :react-native-keyboard-controller:mergeDebugAssets
> Task :react-native-mmkv:mergeDebugShaders
> Task :react-native-mmkv:compileDebugShaders NO-SOURCE
> Task :react-native-mmkv:generateDebugAssets UP-TO-DATE
> Task :react-native-mmkv:mergeDebugAssets
> Task :react-native-nitro-modules:mergeDebugShaders
> Task :react-native-nitro-modules:compileDebugShaders NO-SOURCE
> Task :react-native-nitro-modules:generateDebugAssets UP-TO-DATE
> Task :react-native-nitro-modules:mergeDebugAssets
> Task :react-native-reanimated:mergeDebugShaders
> Task :react-native-reanimated:compileDebugShaders NO-SOURCE
> Task :react-native-reanimated:generateDebugAssets UP-TO-DATE
> Task :react-native-reanimated:mergeDebugAssets
> Task :react-native-safe-area-context:mergeDebugShaders
> Task :react-native-safe-area-context:compileDebugShaders NO-SOURCE
> Task :react-native-safe-area-context:generateDebugAssets UP-TO-DATE
> Task :react-native-safe-area-context:mergeDebugAssets
> Task :react-native-svg:mergeDebugShaders
> Task :react-native-svg:compileDebugShaders NO-SOURCE
> Task :react-native-svg:generateDebugAssets UP-TO-DATE
> Task :react-native-svg:mergeDebugAssets
> Task :react-native-unistyles:mergeDebugShaders
> Task :react-native-unistyles:compileDebugShaders NO-SOURCE
> Task :react-native-unistyles:generateDebugAssets UP-TO-DATE
> Task :react-native-unistyles:mergeDebugAssets
> Task :react-native-vector-icons_material-design-icons:mergeDebugShaders
> Task :react-native-vector-icons_material-design-icons:compileDebugShaders NO-SOURCE
> Task :react-native-vector-icons_material-design-icons:generateDebugAssets UP-TO-DATE
> Task :react-native-vector-icons_material-design-icons:mergeDebugAssets
> Task :react-native-vector-icons_material-icons:mergeDebugShaders
> Task :react-native-vector-icons_material-icons:compileDebugShaders NO-SOURCE
> Task :react-native-vector-icons_material-icons:generateDebugAssets UP-TO-DATE
> Task :react-native-vector-icons_material-icons:mergeDebugAssets
> Task :react-native-worklets:mergeDebugShaders
> Task :react-native-worklets:compileDebugShaders NO-SOURCE
> Task :react-native-worklets:generateDebugAssets UP-TO-DATE
> Task :react-native-worklets:mergeDebugAssets
> Task :app:mergeDebugAssets
> Task :app:compressDebugAssets
> Task :notifee_react-native:bundleLibRuntimeToJarDebug
> Task :react-native-vector-icons_material-icons:compileDebugKotlin
> Task :react-native-vector-icons_material-design-icons:compileDebugKotlin
> Task :react-native-vector-icons_material-icons:compileDebugJavaWithJavac
> Task :react-native-vector-icons_material-design-icons:compileDebugJavaWithJavac
> Task :react-native-vector-icons_material-design-icons:bundleLibCompileToJarDebug
> Task :react-native-vector-icons_material-icons:bundleLibCompileToJarDebug
> Task :react-native-vector-icons_material-design-icons:bundleLibRuntimeToJarDebug
> Task :react-native-vector-icons_material-icons:bundleLibRuntimeToJarDebug
> Task :react-native-clipboard_clipboard:bundleLibRuntimeToJarDebug
> Task :react-native-device-info:bundleLibRuntimeToJarDebug
> Task :react-native-get-random-values:bundleLibRuntimeToJarDebug
> Task :react-native-worklets:compileDebugKotlin
> Task :react-native-nitro-modules:compileDebugKotlin

> Task :react-native-safe-area-context:compileDebugKotlin
w: file:///app/node_modules/react-native-safe-area-context/android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaProviderManager.kt:39:19 'fun getEventDispatcherForReactTag(context: ReactContext, reactTag: Int): EventDispatcher?' is deprecated. reactTag is no longer needed.
w: file:///app/node_modules/react-native-safe-area-context/android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaView.kt:8:8 'class UIManagerModule : ReactContextBaseJavaModule, LifecycleEventListener, UIManager' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-safe-area-context/android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaView.kt:45:54 'class UIManagerModule : ReactContextBaseJavaModule, LifecycleEventListener, UIManager' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-safe-area-context/android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaViewShadowNode.kt:9:32 'class LayoutShadowNode : ReactShadowNodeImpl' is deprecated. This class is part of Legacy Architecture and will be removed in a future release.
w: file:///app/node_modules/react-native-safe-area-context/android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaViewShadowNode.kt:110:61 'class NativeViewHierarchyOptimizer : Any' is deprecated. This class is part of Legacy Architecture and will be removed in a future release.

> Task :react-native-worklets:compileDebugJavaWithJavac
> Task :react-native-worklets:bundleLibCompileToJarDebug
> Task :react-native-nitro-modules:compileDebugJavaWithJavac
> Task :react-native-documents_picker:compileDebugKotlin
> Task :react-native-documents_picker:compileDebugJavaWithJavac
> Task :react-native-documents_picker:bundleLibCompileToJarDebug
> Task :react-native-nitro-modules:bundleLibCompileToJarDebug
> Task :react-native-safe-area-context:compileDebugJavaWithJavac
> Task :react-native-safe-area-context:bundleLibCompileToJarDebug
> Task :react-native-documents_picker:bundleLibRuntimeToJarDebug
> Task :react-native-nitro-modules:bundleLibRuntimeToJarDebug
> Task :react-native-worklets:bundleLibRuntimeToJarDebug
> Task :react-native-safe-area-context:bundleLibRuntimeToJarDebug
> Task :react-native-mmkv:compileDebugKotlin
> Task :react-native-mmkv:compileDebugJavaWithJavac
> Task :react-native-mmkv:bundleLibCompileToJarDebug
> Task :app:desugarDebugFileDependencies
> Task :notifee_react-native:processDebugJavaRes NO-SOURCE
> Task :react-native-mmkv:bundleLibRuntimeToJarDebug
> Task :react-native-clipboard_clipboard:processDebugJavaRes NO-SOURCE
> Task :react-native-svg:bundleLibRuntimeToJarDebug
> Task :react-native-device-info:processDebugJavaRes NO-SOURCE
> Task :react-native-documents_picker:processDebugJavaRes
> Task :react-native-get-random-values:processDebugJavaRes NO-SOURCE
> Task :react-native-mmkv:processDebugJavaRes
> Task :react-native-nitro-modules:processDebugJavaRes
> Task :react-native-safe-area-context:processDebugJavaRes
> Task :react-native-svg:processDebugJavaRes NO-SOURCE
> Task :react-native-vector-icons_material-design-icons:processDebugJavaRes
> Task :react-native-vector-icons_material-icons:processDebugJavaRes
> Task :react-native-worklets:processDebugJavaRes
> Task :app:checkDebugDuplicateClasses
> Task :react-native-vector-icons_material-icons:bundleLibRuntimeToDirDebug
> Task :react-native-vector-icons_material-design-icons:bundleLibRuntimeToDirDebug
> Task :react-native-documents_picker:bundleLibRuntimeToDirDebug

> Task :react-native-unistyles:compileDebugKotlin
w: file:///app/node_modules/react-native-unistyles/android/src/main/java/com/unistyles/NativePlatform+android.kt:163:101 'static field LAYOUT_DIRECTION_RTL: Int' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-unistyles/android/src/main/java/com/unistyles/NativePlatform+android.kt:164:106 'static field LAYOUT_DIRECTION_RTL: Int' is deprecated. Deprecated in Java.

> Task :react-native-reanimated:compileDebugKotlin
w: file:///app/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.kt:13:8 'class UIManagerModule : ReactContextBaseJavaModule, LifecycleEventListener, UIManager' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.kt:58:95 'fun resolveCustomDirectEventName(eventName: String): String?' is deprecated.
w: file:///app/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/ReanimatedPackage.kt:5:8 'class ReactInstanceManager : Any' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/ReanimatedPackage.kt:60:73 'class ReactInstanceManager : Any' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/ReanimatedPackage.kt:61:63 'val reactNativeHost: ReactNativeHost' is deprecated. You should not use ReactNativeHost directly in the New Architecture. Use ReactHost instead.
w: file:///app/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/nativeProxy/EventHandler.kt:7:8 'class UIManagerModule : ReactContextBaseJavaModule, LifecycleEventListener, UIManager' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/nativeProxy/EventHandler.kt:48:18 This declaration overrides a deprecated member but is not marked as deprecated itself. Add the '@Deprecated' annotation or suppress the diagnostic.
w: file:///app/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/nativeProxy/EventHandler.kt:57:18 This declaration overrides a deprecated member but is not marked as deprecated itself. Add the '@Deprecated' annotation or suppress the diagnostic.
w: file:///app/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/nativeProxy/NoopEventHandler.kt:29:18 This declaration overrides a deprecated member but is not marked as deprecated itself. Add the '@Deprecated' annotation or suppress the diagnostic.
w: file:///app/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/nativeProxy/NoopEventHandler.kt:37:18 This declaration overrides a deprecated member but is not marked as deprecated itself. Add the '@Deprecated' annotation or suppress the diagnostic.
w: file:///app/node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/sensor/ReanimatedSensor.kt:28:26 'val defaultDisplay: Display!' is deprecated. Deprecated in Java.

> Task :react-native-keyboard-controller:compileDebugKotlin
w: file:///app/node_modules/react-native-keyboard-controller/android/src/fabric/java/com/reactnativekeyboardcontroller/OverKeyboardViewManager.kt:3:8 'class LayoutShadowNode : ReactShadowNodeImpl' is deprecated. This class is part of Legacy Architecture and will be removed in a future release.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/fabric/java/com/reactnativekeyboardcontroller/OverKeyboardViewManager.kt:29:44 'class LayoutShadowNode : ReactShadowNodeImpl' is deprecated. This class is part of Legacy Architecture and will be removed in a future release.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/fabric/java/com/reactnativekeyboardcontroller/OverKeyboardViewManager.kt:31:48 'class LayoutShadowNode : ReactShadowNodeImpl' is deprecated. This class is part of Legacy Architecture and will be removed in a future release.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/extensions/EditText.kt:69:42 Unchecked cast of 'ArrayList<*>' to 'ArrayList<TextWatcher>'.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/extensions/ReactContext.kt:12:109 'val DEFAULT: Int' is deprecated. UIManagerType.DEFAULT will be deleted in the next release of React Native. Use [LEGACY] instead.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/extensions/ReactContext.kt:18:27 'fun getEventDispatcher(context: ReactContext, uiManagerType: Int): EventDispatcher?' is deprecated. UIManagerType is no longer needed.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/extensions/ThemedReactContext.kt:18:21 'fun getEventDispatcherForReactTag(context: ReactContext, reactTag: Int): EventDispatcher?' is deprecated. reactTag is no longer needed.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/interactive/KeyboardAnimationController.kt:89:16 'static fun getWindowInsetsController(p0: View): WindowInsetsControllerCompat?' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/managers/KeyboardControllerViewManagerImpl.kt:4:8 'object MapBuilder : Any' is deprecated. Use Kotlin's built-in collections extensions.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/managers/KeyboardControllerViewManagerImpl.kt:73:7 'object MapBuilder : Any' is deprecated. Use Kotlin's built-in collections extensions.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/managers/KeyboardControllerViewManagerImpl.kt:75:9 'object MapBuilder : Any' is deprecated. Use Kotlin's built-in collections extensions.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/managers/KeyboardControllerViewManagerImpl.kt:77:9 'object MapBuilder : Any' is deprecated. Use Kotlin's built-in collections extensions.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/managers/KeyboardControllerViewManagerImpl.kt:79:9 'object MapBuilder : Any' is deprecated. Use Kotlin's built-in collections extensions.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/managers/KeyboardControllerViewManagerImpl.kt:81:9 'object MapBuilder : Any' is deprecated. Use Kotlin's built-in collections extensions.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/managers/KeyboardControllerViewManagerImpl.kt:83:9 'object MapBuilder : Any' is deprecated. Use Kotlin's built-in collections extensions.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/managers/KeyboardControllerViewManagerImpl.kt:85:9 'object MapBuilder : Any' is deprecated. Use Kotlin's built-in collections extensions.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/managers/KeyboardControllerViewManagerImpl.kt:87:9 'object MapBuilder : Any' is deprecated. Use Kotlin's built-in collections extensions.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/modules/statusbar/StatusBarManagerCompatModuleImpl.kt:70:38 'var statusBarColor: Int' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/modules/statusbar/StatusBarManagerCompatModuleImpl.kt:73:20 'var statusBarColor: Int' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/modules/statusbar/StatusBarManagerCompatModuleImpl.kt:78:18 'var statusBarColor: Int' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/EdgeToEdgeReactViewGroup.kt:115:58 'static field SOFT_INPUT_ADJUST_RESIZE: Int' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/EdgeToEdgeReactViewGroup.kt:150:81 'static field FLAG_FULLSCREEN: Int' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/overlay/OverKeyboardHostShadowNode.kt:3:8 'class LayoutShadowNode : ReactShadowNodeImpl' is deprecated. This class is part of Legacy Architecture and will be removed in a future release.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/overlay/OverKeyboardHostShadowNode.kt:4:8 'class ReactShadowNodeImpl : Any, ReactShadowNode<ReactShadowNodeImpl!>' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/overlay/OverKeyboardHostShadowNode.kt:15:45 'class LayoutShadowNode : ReactShadowNodeImpl' is deprecated. This class is part of Legacy Architecture and will be removed in a future release.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/overlay/OverKeyboardHostShadowNode.kt:22:12 'class ReactShadowNodeImpl : Any, ReactShadowNode<ReactShadowNodeImpl!>' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/overlay/OverKeyboardViewGroup.kt:13:8 'object ReactFeatureFlags : Any' is deprecated. Use com.facebook.react.internal.featureflags.ReactNativeFeatureFlags instead.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/overlay/OverKeyboardViewGroup.kt:30:44 'fun getEventDispatcherForReactTag(context: ReactContext, reactTag: Int): EventDispatcher?' is deprecated. reactTag is no longer needed.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/overlay/OverKeyboardViewGroup.kt:79:5 The corresponding parameter in the supertype 'ReactViewGroup' is named 'left'. This may cause problems when calling this function with named arguments.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/overlay/OverKeyboardViewGroup.kt:80:5 The corresponding parameter in the supertype 'ReactViewGroup' is named 'top'. This may cause problems when calling this function with named arguments.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/overlay/OverKeyboardViewGroup.kt:81:5 The corresponding parameter in the supertype 'ReactViewGroup' is named 'right'. This may cause problems when calling this function with named arguments.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/overlay/OverKeyboardViewGroup.kt:82:5 The corresponding parameter in the supertype 'ReactViewGroup' is named 'bottom'. This may cause problems when calling this function with named arguments.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/overlay/OverKeyboardViewGroup.kt:132:9 'object ReactFeatureFlags : Any' is deprecated. Use com.facebook.react.internal.featureflags.ReactNativeFeatureFlags instead.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/overlay/OverKeyboardViewGroup.kt:152:5 The corresponding parameter in the supertype 'ReactViewGroup' is named 'w'. This may cause problems when calling this function with named arguments.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/overlay/OverKeyboardViewGroup.kt:153:5 The corresponding parameter in the supertype 'ReactViewGroup' is named 'h'. This may cause problems when calling this function with named arguments.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/overlay/OverKeyboardViewGroup.kt:154:5 The corresponding parameter in the supertype 'ReactViewGroup' is named 'oldw'. This may cause problems when calling this function with named arguments.
w: file:///app/node_modules/react-native-keyboard-controller/android/src/main/java/com/reactnativekeyboardcontroller/views/overlay/OverKeyboardViewGroup.kt:155:5 The corresponding parameter in the supertype 'ReactViewGroup' is named 'oldh'. This may cause problems when calling this function with named arguments.

> Task :app:mergeExtDexDebug
> Task :react-native-reanimated:compileDebugJavaWithJavac
> Task :react-native-reanimated:bundleLibCompileToJarDebug
> Task :react-native-keyboard-controller:compileDebugJavaWithJavac
> Task :react-native-keyboard-controller:bundleLibCompileToJarDebug
> Task :react-native-unistyles:compileDebugJavaWithJavac
> Task :react-native-unistyles:bundleLibCompileToJarDebug
> Task :react-native-unistyles:bundleLibRuntimeToJarDebug
> Task :react-native-keyboard-controller:bundleLibRuntimeToJarDebug
> Task :react-native-reanimated:bundleLibRuntimeToJarDebug
> Task :react-native-keyboard-controller:processDebugJavaRes
> Task :react-native-reanimated:processDebugJavaRes
> Task :react-native-unistyles:processDebugJavaRes
> Task :react-native-mmkv:bundleLibRuntimeToDirDebug
> Task :react-native-unistyles:bundleLibRuntimeToDirDebug
> Task :react-native-nitro-modules:bundleLibRuntimeToDirDebug
> Task :react-native-keyboard-controller:bundleLibRuntimeToDirDebug
> Task :react-native-reanimated:bundleLibRuntimeToDirDebug
> Task :react-native-safe-area-context:bundleLibRuntimeToDirDebug
> Task :react-native-worklets:bundleLibRuntimeToDirDebug
> Task :notifee_react-native:bundleLibRuntimeToDirDebug
> Task :react-native-clipboard_clipboard:bundleLibRuntimeToDirDebug
> Task :react-native-device-info:bundleLibRuntimeToDirDebug
> Task :react-native-get-random-values:bundleLibRuntimeToDirDebug
> Task :react-native-svg:bundleLibRuntimeToDirDebug
> Task :react-native-nitro-modules:configureCMakeDebug[arm64-v8a]

> Task :react-native-nitro-modules:buildCMakeDebug[arm64-v8a]
C/C++: ninja: Entering directory `/app/node_modules/react-native-nitro-modules/android/.cxx/Debug/2n2h1c95/arm64-v8a'
C/C++: /app/node_modules/react-native-nitro-modules/cpp/threading/ThreadPool.cpp:25:58: warning: unused parameter 'queueMutexLock' [-Wunused-parameter]
C/C++:    25 | void ThreadPool::addThread(std::unique_lock<std::mutex>& queueMutexLock) {
C/C++:       |                                                          ^
C/C++: 1 warning generated.

> Task :react-native-gesture-handler:compileDebugKotlin
w: file:///app/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/Extensions.kt:8:8 'class UIManagerModule : ReactContextBaseJavaModule, LifecycleEventListener, UIManager' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/Extensions.kt:13:29 'class UIManagerModule : ReactContextBaseJavaModule, LifecycleEventListener, UIManager' is deprecated. Deprecated in Java.
w: file:///app/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/Extensions.kt:14:32 'class UIManagerModule : ReactContextBaseJavaModule, LifecycleEventListener, UIManager' is deprecated. Deprecated in Java.

> Task :react-native-gesture-handler:compileDebugJavaWithJavac
> Task :react-native-gesture-handler:bundleLibCompileToJarDebug
> Task :react-native-gesture-handler:processDebugJavaRes
> Task :react-native-gesture-handler:bundleLibRuntimeToJarDebug
> Task :react-native-gesture-handler:bundleLibRuntimeToDirDebug
> Task :app:compileDebugKotlin
> Task :react-native-nitro-modules:configureCMakeDebug[armeabi-v7a]
> Task :app:compileDebugJavaWithJavac
> Task :app:dexBuilderDebug
> Task :app:processDebugJavaRes
> Task :app:mergeDebugGlobalSynthetics
> Task :app:mergeProjectDexDebug
> Task :app:mergeLibDexDebug
> Task :app:mergeDebugJavaResource

> Task :react-native-nitro-modules:buildCMakeDebug[armeabi-v7a]
C/C++: ninja: Entering directory `/app/node_modules/react-native-nitro-modules/android/.cxx/Debug/2n2h1c95/armeabi-v7a'
C/C++: /app/node_modules/react-native-nitro-modules/cpp/threading/ThreadPool.cpp:25:58: warning: unused parameter 'queueMutexLock' [-Wunused-parameter]
C/C++:    25 | void ThreadPool::addThread(std::unique_lock<std::mutex>& queueMutexLock) {
C/C++:       |                                                          ^
C/C++: 1 warning generated.

> Task :react-native-nitro-modules:configureCMakeDebug[x86]

> Task :react-native-nitro-modules:buildCMakeDebug[x86]
C/C++: ninja: Entering directory `/app/node_modules/react-native-nitro-modules/android/.cxx/Debug/2n2h1c95/x86'
C/C++: /app/node_modules/react-native-nitro-modules/cpp/threading/ThreadPool.cpp:25:58: warning: unused parameter 'queueMutexLock' [-Wunused-parameter]
C/C++:    25 | void ThreadPool::addThread(std::unique_lock<std::mutex>& queueMutexLock) {
C/C++:       |                                                          ^
C/C++: 1 warning generated.

> Task :react-native-nitro-modules:configureCMakeDebug[x86_64]

> Task :react-native-nitro-modules:buildCMakeDebug[x86_64]
C/C++: ninja: Entering directory `/app/node_modules/react-native-nitro-modules/android/.cxx/Debug/2n2h1c95/x86_64'
C/C++: /app/node_modules/react-native-nitro-modules/cpp/threading/ThreadPool.cpp:25:58: warning: unused parameter 'queueMutexLock' [-Wunused-parameter]
C/C++:    25 | void ThreadPool::addThread(std::unique_lock<std::mutex>& queueMutexLock) {
C/C++:       |                                                          ^
C/C++: 1 warning generated.

> Task :react-native-nitro-modules:externalNativeBuildDebug
> Task :react-native-nitro-modules:generateJsonModelDebug
> Task :react-native-nitro-modules:prefabDebugConfigurePackage
> Task :react-native-worklets:configureCMakeDebug[arm64-v8a]
> Task :react-native-worklets:buildCMakeDebug[arm64-v8a][worklets]
> Task :react-native-worklets:configureCMakeDebug[armeabi-v7a]
> Task :react-native-worklets:buildCMakeDebug[armeabi-v7a][worklets]
> Task :react-native-worklets:configureCMakeDebug[x86]
> Task :react-native-worklets:buildCMakeDebug[x86][worklets]
> Task :react-native-worklets:configureCMakeDebug[x86_64]
> Task :react-native-worklets:buildCMakeDebug[x86_64][worklets]
> Task :react-native-worklets:externalNativeBuildDebug
> Task :react-native-worklets:generateJsonModelDebug
> Task :react-native-worklets:prefabDebugConfigurePackage
> Task :react-native-reanimated:configureCMakeDebug[arm64-v8a]
> Task :react-native-reanimated:configureCMakeDebug[armeabi-v7a]
> Task :react-native-reanimated:configureCMakeDebug[x86]
> Task :react-native-reanimated:configureCMakeDebug[x86_64]
> Task :react-native-reanimated:generateJsonModelDebug
> Task :react-native-reanimated:prefabDebugConfigurePackage
> Task :app:configureCMakeDebug[arm64-v8a]
> Task :react-native-nitro-modules:prefabDebugPackage
> Task :react-native-worklets:prefabDebugPackage
> Task :react-native-reanimated:buildCMakeDebug[arm64-v8a][reanimated]
> Task :react-native-reanimated:buildCMakeDebug[armeabi-v7a][reanimated]
> Task :react-native-reanimated:buildCMakeDebug[x86][reanimated]
> Task :react-native-reanimated:buildCMakeDebug[x86_64][reanimated]
> Task :react-native-worklets:mergeDebugJniLibFolders
> Task :react-native-worklets:mergeDebugNativeLibs
> Task :app:configureCMakeDebug[armeabi-v7a]
> Task :react-native-worklets:copyDebugJniLibsProjectOnly
> Task :app:configureCMakeDebug[x86]
> Task :react-native-reanimated:externalNativeBuildDebug
> Task :react-native-reanimated:prefabDebugPackage
> Task :app:buildCMakeDebug[arm64-v8a]
> Task :app:buildCMakeDebug[armeabi-v7a]
> Task :app:buildCMakeDebug[x86]
> Task :app:configureCMakeDebug[x86_64]
> Task :app:buildCMakeDebug[x86_64]
> Task :app:mergeDebugJniLibFolders
> Task :notifee_react-native:mergeDebugJniLibFolders
> Task :notifee_react-native:mergeDebugNativeLibs NO-SOURCE
> Task :notifee_react-native:copyDebugJniLibsProjectOnly
> Task :react-native-clipboard_clipboard:mergeDebugJniLibFolders
> Task :react-native-clipboard_clipboard:mergeDebugNativeLibs NO-SOURCE
> Task :react-native-clipboard_clipboard:copyDebugJniLibsProjectOnly
> Task :react-native-device-info:mergeDebugJniLibFolders
> Task :react-native-device-info:mergeDebugNativeLibs NO-SOURCE
> Task :react-native-device-info:copyDebugJniLibsProjectOnly
> Task :react-native-documents_picker:mergeDebugJniLibFolders
> Task :react-native-documents_picker:mergeDebugNativeLibs NO-SOURCE
> Task :react-native-documents_picker:copyDebugJniLibsProjectOnly
> Task :react-native-gesture-handler:configureCMakeDebug[arm64-v8a]
> Task :react-native-gesture-handler:buildCMakeDebug[arm64-v8a]
> Task :react-native-gesture-handler:configureCMakeDebug[armeabi-v7a]
> Task :react-native-gesture-handler:buildCMakeDebug[armeabi-v7a]
> Task :react-native-gesture-handler:configureCMakeDebug[x86]
> Task :react-native-gesture-handler:buildCMakeDebug[x86]
> Task :react-native-gesture-handler:configureCMakeDebug[x86_64]
> Task :react-native-gesture-handler:buildCMakeDebug[x86_64]
> Task :react-native-gesture-handler:mergeDebugJniLibFolders
> Task :react-native-gesture-handler:mergeDebugNativeLibs
> Task :react-native-get-random-values:mergeDebugJniLibFolders
> Task :react-native-get-random-values:mergeDebugNativeLibs NO-SOURCE
> Task :react-native-get-random-values:copyDebugJniLibsProjectOnly
> Task :react-native-gesture-handler:copyDebugJniLibsProjectOnly
> Task :react-native-keyboard-controller:mergeDebugJniLibFolders
> Task :react-native-keyboard-controller:mergeDebugNativeLibs NO-SOURCE
> Task :react-native-keyboard-controller:copyDebugJniLibsProjectOnly
> Task :react-native-mmkv:configureCMakeDebug[arm64-v8a]
> Task :react-native-mmkv:buildCMakeDebug[arm64-v8a]
> Task :react-native-mmkv:configureCMakeDebug[armeabi-v7a]
> Task :react-native-mmkv:buildCMakeDebug[armeabi-v7a]
> Task :react-native-mmkv:configureCMakeDebug[x86]
> Task :react-native-mmkv:buildCMakeDebug[x86]
> Task :react-native-mmkv:configureCMakeDebug[x86_64]
> Task :react-native-mmkv:buildCMakeDebug[x86_64]
> Task :react-native-mmkv:mergeDebugJniLibFolders
> Task :react-native-nitro-modules:mergeDebugJniLibFolders
> Task :react-native-reanimated:mergeDebugJniLibFolders
> Task :react-native-safe-area-context:mergeDebugJniLibFolders
> Task :react-native-mmkv:mergeDebugNativeLibs
> Task :react-native-safe-area-context:mergeDebugNativeLibs NO-SOURCE
> Task :react-native-safe-area-context:copyDebugJniLibsProjectOnly
> Task :react-native-svg:mergeDebugJniLibFolders
> Task :react-native-svg:mergeDebugNativeLibs NO-SOURCE
> Task :react-native-svg:copyDebugJniLibsProjectOnly
> Task :react-native-mmkv:copyDebugJniLibsProjectOnly
> Task :react-native-nitro-modules:mergeDebugNativeLibs
> Task :react-native-unistyles:configureCMakeDebug[arm64-v8a]
> Task :react-native-nitro-modules:copyDebugJniLibsProjectOnly
> Task :react-native-reanimated:mergeDebugNativeLibs
> Task :react-native-unistyles:buildCMakeDebug[arm64-v8a]
> Task :react-native-unistyles:configureCMakeDebug[armeabi-v7a]
> Task :react-native-reanimated:copyDebugJniLibsProjectOnly
> Task :react-native-unistyles:buildCMakeDebug[armeabi-v7a]
> Task :react-native-unistyles:configureCMakeDebug[x86]
> Task :react-native-unistyles:buildCMakeDebug[x86]
> Task :react-native-unistyles:configureCMakeDebug[x86_64]
> Task :react-native-unistyles:buildCMakeDebug[x86_64]
> Task :react-native-unistyles:mergeDebugJniLibFolders
> Task :react-native-vector-icons_material-design-icons:mergeDebugJniLibFolders
> Task :react-native-vector-icons_material-design-icons:mergeDebugNativeLibs NO-SOURCE
> Task :react-native-vector-icons_material-design-icons:copyDebugJniLibsProjectOnly
> Task :react-native-vector-icons_material-icons:mergeDebugJniLibFolders
> Task :react-native-vector-icons_material-icons:mergeDebugNativeLibs NO-SOURCE
> Task :react-native-vector-icons_material-icons:copyDebugJniLibsProjectOnly
> Task :app:validateSigningDebug
> Task :app:writeDebugAppMetadata
> Task :app:writeDebugSigningConfigVersions
> Task :notifee_react-native:stripDebugDebugSymbols NO-SOURCE
> Task :notifee_react-native:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-unistyles:mergeDebugNativeLibs
> Task :notifee_react-native:extractDebugAnnotations
> Task :notifee_react-native:extractDeepLinksForAarDebug
> Task :notifee_react-native:mergeDebugGeneratedProguardFiles
> Task :notifee_react-native:mergeDebugConsumerProguardFiles
> Task :notifee_react-native:prepareDebugArtProfile
> Task :notifee_react-native:prepareLintJarForPublish
> Task :react-native-clipboard_clipboard:stripDebugDebugSymbols NO-SOURCE
> Task :react-native-clipboard_clipboard:copyDebugJniLibsProjectAndLocalJars
> Task :notifee_react-native:mergeDebugJavaResource
> Task :react-native-clipboard_clipboard:extractDebugAnnotations
> Task :notifee_react-native:syncDebugLibJars
> Task :notifee_react-native:bundleDebugAar
> Task :notifee_react-native:assembleDebug
> Task :react-native-clipboard_clipboard:extractDeepLinksForAarDebug
> Task :react-native-unistyles:copyDebugJniLibsProjectOnly
> Task :react-native-clipboard_clipboard:mergeDebugGeneratedProguardFiles
> Task :react-native-clipboard_clipboard:mergeDebugConsumerProguardFiles
> Task :react-native-clipboard_clipboard:prepareDebugArtProfile
> Task :react-native-clipboard_clipboard:prepareLintJarForPublish
> Task :react-native-device-info:stripDebugDebugSymbols NO-SOURCE
> Task :react-native-device-info:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-clipboard_clipboard:mergeDebugJavaResource
> Task :react-native-device-info:extractDebugAnnotations
> Task :react-native-clipboard_clipboard:syncDebugLibJars
> Task :react-native-clipboard_clipboard:bundleDebugAar
> Task :react-native-clipboard_clipboard:assembleDebug
> Task :react-native-device-info:extractDeepLinksForAarDebug
> Task :react-native-device-info:mergeDebugGeneratedProguardFiles
> Task :react-native-device-info:mergeDebugConsumerProguardFiles
> Task :react-native-device-info:prepareDebugArtProfile
> Task :react-native-device-info:prepareLintJarForPublish
> Task :react-native-documents_picker:stripDebugDebugSymbols NO-SOURCE
> Task :react-native-device-info:mergeDebugJavaResource
> Task :react-native-documents_picker:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-device-info:syncDebugLibJars
> Task :react-native-device-info:bundleDebugAar
> Task :react-native-device-info:assembleDebug
> Task :react-native-documents_picker:extractDebugAnnotations
> Task :react-native-documents_picker:extractDeepLinksForAarDebug
> Task :react-native-documents_picker:mergeDebugGeneratedProguardFiles
> Task :react-native-documents_picker:mergeDebugConsumerProguardFiles
> Task :react-native-documents_picker:prepareDebugArtProfile
> Task :react-native-documents_picker:prepareLintJarForPublish
> Task :react-native-documents_picker:mergeDebugJavaResource
> Task :react-native-documents_picker:syncDebugLibJars
> Task :react-native-documents_picker:bundleDebugAar
> Task :react-native-documents_picker:assembleDebug
> Task :react-native-gesture-handler:stripDebugDebugSymbols
> Task :react-native-gesture-handler:extractDebugAnnotations
> Task :react-native-gesture-handler:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-gesture-handler:extractDeepLinksForAarDebug
> Task :react-native-gesture-handler:mergeDebugGeneratedProguardFiles
> Task :react-native-gesture-handler:mergeDebugConsumerProguardFiles
> Task :react-native-gesture-handler:prepareDebugArtProfile
> Task :react-native-gesture-handler:prepareLintJarForPublish
> Task :react-native-get-random-values:stripDebugDebugSymbols NO-SOURCE
> Task :react-native-get-random-values:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-gesture-handler:mergeDebugJavaResource
> Task :react-native-get-random-values:extractDebugAnnotations
> Task :react-native-gesture-handler:syncDebugLibJars
> Task :react-native-gesture-handler:bundleDebugAar
> Task :react-native-gesture-handler:assembleDebug
> Task :react-native-get-random-values:extractDeepLinksForAarDebug
> Task :react-native-get-random-values:mergeDebugGeneratedProguardFiles
> Task :react-native-get-random-values:mergeDebugConsumerProguardFiles
> Task :react-native-get-random-values:prepareDebugArtProfile
> Task :react-native-get-random-values:prepareLintJarForPublish
> Task :react-native-get-random-values:mergeDebugJavaResource
> Task :react-native-keyboard-controller:stripDebugDebugSymbols NO-SOURCE
> Task :react-native-get-random-values:syncDebugLibJars
> Task :react-native-get-random-values:bundleDebugAar
> Task :react-native-get-random-values:assembleDebug
> Task :react-native-keyboard-controller:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-keyboard-controller:extractDebugAnnotations
> Task :react-native-keyboard-controller:extractDeepLinksForAarDebug
> Task :react-native-keyboard-controller:mergeDebugGeneratedProguardFiles
> Task :react-native-keyboard-controller:mergeDebugConsumerProguardFiles
> Task :react-native-keyboard-controller:prepareDebugArtProfile
> Task :react-native-keyboard-controller:prepareLintJarForPublish
> Task :react-native-keyboard-controller:mergeDebugJavaResource
> Task :react-native-mmkv:extractDebugAnnotations
> Task :react-native-mmkv:stripDebugDebugSymbols
> Task :react-native-keyboard-controller:syncDebugLibJars
> Task :react-native-keyboard-controller:bundleDebugAar
> Task :react-native-keyboard-controller:assembleDebug
> Task :react-native-mmkv:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-mmkv:extractDeepLinksForAarDebug
> Task :react-native-mmkv:mergeDebugGeneratedProguardFiles
> Task :react-native-mmkv:mergeDebugConsumerProguardFiles
> Task :react-native-mmkv:prepareDebugArtProfile
> Task :react-native-mmkv:prepareLintJarForPublish
> Task :react-native-mmkv:mergeDebugJavaResource
> Task :react-native-nitro-modules:extractDebugAnnotations
> Task :react-native-nitro-modules:stripDebugDebugSymbols
> Task :react-native-mmkv:syncDebugLibJars
> Task :react-native-mmkv:bundleDebugAar
> Task :react-native-mmkv:assembleDebug
> Task :react-native-nitro-modules:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-nitro-modules:extractDeepLinksForAarDebug
> Task :react-native-nitro-modules:mergeDebugGeneratedProguardFiles
> Task :react-native-nitro-modules:mergeDebugConsumerProguardFiles
> Task :react-native-nitro-modules:prepareDebugArtProfile
> Task :react-native-nitro-modules:prepareLintJarForPublish
> Task :react-native-nitro-modules:mergeDebugJavaResource
> Task :react-native-reanimated:extractDebugAnnotations
> Task :react-native-nitro-modules:syncDebugLibJars
> Task :react-native-reanimated:stripDebugDebugSymbols
> Task :react-native-nitro-modules:bundleDebugAar
> Task :react-native-nitro-modules:assembleDebug
> Task :react-native-reanimated:extractDeepLinksForAarDebug
> Task :react-native-reanimated:mergeDebugGeneratedProguardFiles
> Task :react-native-reanimated:mergeDebugConsumerProguardFiles
> Task :react-native-reanimated:prepareDebugArtProfile
> Task :react-native-reanimated:prepareLintJarForPublish
> Task :react-native-safe-area-context:stripDebugDebugSymbols NO-SOURCE
> Task :react-native-safe-area-context:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-reanimated:mergeDebugJavaResource
> Task :react-native-safe-area-context:extractDebugAnnotations
> Task :react-native-reanimated:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-reanimated:syncDebugLibJars
> Task :app:mergeDebugNativeLibs
> Task :react-native-reanimated:bundleDebugAar
> Task :react-native-reanimated:assembleDebug
> Task :react-native-safe-area-context:extractDeepLinksForAarDebug
> Task :react-native-safe-area-context:mergeDebugGeneratedProguardFiles
> Task :react-native-safe-area-context:mergeDebugConsumerProguardFiles
> Task :react-native-safe-area-context:prepareDebugArtProfile
> Task :react-native-svg:stripDebugDebugSymbols NO-SOURCE
> Task :react-native-svg:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-safe-area-context:prepareLintJarForPublish
> Task :react-native-safe-area-context:mergeDebugJavaResource
> Task :react-native-svg:extractDebugAnnotations
> Task :react-native-safe-area-context:syncDebugLibJars
> Task :app:stripDebugDebugSymbols
> Task :react-native-safe-area-context:bundleDebugAar
> Task :react-native-safe-area-context:assembleDebug
> Task :react-native-svg:extractDeepLinksForAarDebug
> Task :react-native-svg:mergeDebugGeneratedProguardFiles
> Task :react-native-svg:mergeDebugConsumerProguardFiles
> Task :react-native-svg:prepareDebugArtProfile
> Task :react-native-svg:prepareLintJarForPublish
> Task :react-native-svg:mergeDebugJavaResource
> Task :react-native-svg:syncDebugLibJars
> Task :react-native-svg:bundleDebugAar
> Task :react-native-svg:assembleDebug
> Task :react-native-unistyles:extractDebugAnnotations
> Task :react-native-unistyles:extractDeepLinksForAarDebug
> Task :react-native-unistyles:mergeDebugGeneratedProguardFiles
> Task :react-native-unistyles:mergeDebugConsumerProguardFiles
> Task :react-native-unistyles:prepareDebugArtProfile
> Task :react-native-unistyles:prepareLintJarForPublish
> Task :react-native-vector-icons_material-design-icons:stripDebugDebugSymbols NO-SOURCE
> Task :react-native-vector-icons_material-design-icons:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-unistyles:mergeDebugJavaResource
> Task :react-native-vector-icons_material-design-icons:extractDebugAnnotations
> Task :react-native-unistyles:stripDebugDebugSymbols
> Task :react-native-unistyles:syncDebugLibJars
> Task :react-native-vector-icons_material-design-icons:extractDeepLinksForAarDebug
> Task :react-native-vector-icons_material-design-icons:mergeDebugGeneratedProguardFiles
> Task :react-native-vector-icons_material-design-icons:mergeDebugConsumerProguardFiles
> Task :react-native-vector-icons_material-design-icons:prepareDebugArtProfile
> Task :react-native-vector-icons_material-design-icons:prepareLintJarForPublish
> Task :app:packageDebug
> Task :app:createDebugApkListingFileRedirect
> Task :app:assembleDebug
> Task :react-native-vector-icons_material-icons:stripDebugDebugSymbols NO-SOURCE
> Task :react-native-vector-icons_material-icons:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-vector-icons_material-design-icons:mergeDebugJavaResource
> Task :react-native-unistyles:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-vector-icons_material-icons:extractDebugAnnotations
> Task :react-native-unistyles:bundleDebugAar
> Task :react-native-unistyles:assembleDebug
> Task :react-native-vector-icons_material-design-icons:syncDebugLibJars
> Task :react-native-vector-icons_material-design-icons:bundleDebugAar
> Task :react-native-vector-icons_material-design-icons:assembleDebug
> Task :react-native-vector-icons_material-icons:extractDeepLinksForAarDebug
> Task :react-native-vector-icons_material-icons:mergeDebugGeneratedProguardFiles
> Task :react-native-vector-icons_material-icons:mergeDebugConsumerProguardFiles
> Task :react-native-vector-icons_material-icons:prepareDebugArtProfile
> Task :react-native-vector-icons_material-icons:prepareLintJarForPublish
> Task :react-native-vector-icons_material-icons:mergeDebugJavaResource
> Task :react-native-worklets:extractDebugAnnotations
> Task :react-native-vector-icons_material-icons:syncDebugLibJars
> Task :react-native-vector-icons_material-icons:bundleDebugAar
> Task :react-native-vector-icons_material-icons:assembleDebug
> Task :react-native-worklets:extractDeepLinksForAarDebug
> Task :react-native-worklets:mergeDebugGeneratedProguardFiles
> Task :react-native-worklets:mergeDebugConsumerProguardFiles
> Task :react-native-worklets:prepareDebugArtProfile
> Task :react-native-worklets:prepareLintJarForPublish
> Task :react-native-worklets:mergeDebugJavaResource
> Task :react-native-worklets:syncDebugLibJars
> Task :react-native-worklets:stripDebugDebugSymbols
> Task :react-native-worklets:copyDebugJniLibsProjectAndLocalJars
> Task :react-native-worklets:bundleDebugAar
> Task :react-native-worklets:assembleDebug

[Incubating] Problems report is available at: file:///app/android/build/reports/problems/problems-report.html

Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/9.3.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD SUCCESSFUL in 22m
650 actionable tasks: 640 executed, 10 up-to-date

> docker run --rm -v /home/ubuntu/storage/extracted/upryzing-clerotri/clerotri-ca13abe19b6ca2753bfee550f1310aa2a55209f3:/source:ro -v /home/ubuntu/BachelorsThesis/scripts/RN/output/upryzing-clerotri:/output -v /home/ubuntu/.npm:/root/.npm react-android:22-jdk17 bash -c 
                set -e

                cp -r /source/. /app &&                 cd /app && 
                # ---- install deps (yarn or npm) ----
                if [ -f yarn.lock ]; then
                    yarn install;
                else
                    npm install --ignore-scripts;
                fi && 
                # ---- stub missing parent package.json (monorepo metro configs) ----
                [ ! -f ../package.json ] && cp package.json ../package.json 2>/dev/null || true && 
                # ---- patch toReversed (Node <20 compat) ----
                find node_modules -name "loadConfig.js" -path "*/metro-config/*" -exec sed -i 's/\.toReversed()/.slice().reverse()/g' {} \; 2>/dev/null || true && 
                # ---- patch missing expo/AppEntry ----
                if grep -q '"main".*expo/AppEntry' package.json 2>/dev/null &&                    [ ! -f node_modules/expo/AppEntry.js ] && [ ! -f node_modules/expo/AppEntry.ts ]; then                     node -e "const fs=require('fs'); const p=JSON.parse(fs.readFileSync('package.json','utf8')); if(fs.existsSync('index.js')){p.main='index.js'; fs.writeFileSync('package.json',JSON.stringify(p,null,2));}" 2>/dev/null || true;                 fi && 
                # ---- patch broken metro config (ESM-only, null-returning, or monorepo-only) ----
                # NOTE: do NOT replace configs that merely use expo/metro-config — those carry
                # Expo-specific resolver paths (watchFolders, extraNodeModules) needed for
                # packages like @react-native-masked-view/masked-view to resolve.
                if grep -q 'react-native-monorepo-config' metro.config.js 2>/dev/null ||                    ! node -e "const c=require('./metro.config.js'); if(!c||typeof c!=='object') process.exit(1);" 2>/dev/null; then                     if [ -d node_modules/@react-native/metro-config ]; then                         printf 'const {getDefaultConfig, mergeConfig} = require("@react-native/metro-config");
module.exports = mergeConfig(getDefaultConfig(__dirname), {});
' > metro.config.js;                     else                         printf 'const {getDefaultConfig} = require("metro-config");
module.exports = getDefaultConfig(__dirname);
' > metro.config.js;                     fi;                 fi && 
                # ---- stub missing google-services.json (Firebase/Expo prebuild) ----
                if [ ! -f google-services.json ]; then                     python3 -c "import json; open('google-services.json','w').write(json.dumps({'project_info':{'project_number':'000000000000','project_id':'stub','storage_bucket':'stub.appspot.com'},'client':[{'client_info':{'mobilesdk_app_id':'1:000000000000:android:0000000000000000','android_client_info':{'package_name':'com.stub'}},'oauth_client':[],'api_key':[{'current_key':'stub'}],'services':{'appinvite_service':{'other_platform_oauth_client':[]}}}],'configuration_version':'1'}))" 2>/dev/null || true;                 fi && 
                # ---- detect expo ----
                if grep -q '"expo"' package.json && [ ! -d android ]; then
                    echo "Expo project detected";
                    CI=1 npx --yes expo prebuild --platform android
                fi && 
                # ---- fix expo/metro-config: serializer + Flow transformIgnorePatterns ----
                # Runs AFTER prebuild because prebuild generates metro.config.js for managed-workflow
                # projects — patching before prebuild would be overwritten by the generated file.
                # Fix 1: remove customSerializer that returns JS string instead of JSON
                #   ("var __BUND..." → "Serializer did not return expected format").
                # Fix 2: add transformIgnorePatterns so expo/src/Expo.ts goes through Babel
                #   (default pattern excludes all node_modules → raw Flow types → SyntaxError).
                if [ -f metro.config.js ] && [ -d node_modules/expo ] &&                    ( grep -q 'expo/metro-config\|@expo/metro-config' metro.config.js 2>/dev/null ||                      ! grep -q 'transformIgnorePatterns' metro.config.js 2>/dev/null ); then                     cp metro.config.js metro.config.orig.js &&                     printf 'const c=require("./metro.config.orig.js");const r=Object.assign({},c);if(r.serializer){r.serializer=Object.assign({},r.serializer);delete r.serializer.customSerializer;}r.transformer=Object.assign({},r.transformer||{});if(!r.transformer.transformIgnorePatterns){r.transformer.transformIgnorePatterns=["node_modules/(?!(react-native|@react-native|expo|@expo|@unimodules|react-clone-referenced-element|@react-navigation|native-base)/)"];}module.exports=r;\n' > metro.config.js;                 fi && 
                # ---- stub missing metro watchFolders paths ----
                mkdir -p /src 2>/dev/null || true && 
                # ---- fix babel configs that use react-native-builder-bob ----
                # builder-bob is a library-dev tool; its getConfig() throws "Couldn't determine the source
                # directory" when built outside the library's own workspace. Replace with a standard preset.
                if grep -ql 'react-native-builder-bob' babel.config.js babel.config.json .babelrc .babelrc.js 2>/dev/null; then                     if [ -d node_modules/babel-preset-expo ]; then                         printf 'module.exports=function(api){api.cache(true);return{presets:["babel-preset-expo"]};};
' > babel.config.js;                     elif [ -d node_modules/@react-native/babel-preset ]; then                         printf 'module.exports={presets:["module:@react-native/babel-preset"]};' > babel.config.js;                     else                         printf 'module.exports={presets:["module:metro-react-native-babel-preset"]};' > babel.config.js;                     fi;                 fi && 
                # ---- ensure TypeScript babel support (fixes 'interface' SyntaxError in metro bundling) ----
                if [ -d node_modules/babel-preset-expo ]; then                     grep -ql "expo\|typescript" babel.config.js .babelrc .babelrc.js babel.config.json 2>/dev/null ||                     printf 'module.exports=function(api){api.cache(true);return{presets:["babel-preset-expo"]};};
' > babel.config.js;                 fi && 
                # ---- stub missing-asset-registry-path (Metro virtual module not resolved in release) ----
                # Metro normally aliases this to @react-native/assets-registry/registry at bundle time.
                # When that alias is missing, any PNG asset in node_modules triggers "Unable to resolve module".
                if [ ! -d node_modules/missing-asset-registry-path ]; then                     mkdir -p node_modules/missing-asset-registry-path &&                     if [ -f node_modules/@react-native/assets-registry/registry.js ]; then                         printf 'module.exports=require("@react-native/assets-registry/registry");' > node_modules/missing-asset-registry-path/index.js;                     else                         printf 'module.exports={registerAsset:function(){return 0;},getAssetByID:function(){return null;}};' > node_modules/missing-asset-registry-path/index.js;                     fi;                 fi && 
                # ---- stub @react-native-masked-view/masked-view if missing ----
                # Required by @react-navigation/elements but often not installed as a direct dependency.
                if [ ! -d node_modules/@react-native-masked-view/masked-view ]; then                     mkdir -p node_modules/@react-native-masked-view/masked-view &&                     printf '{"name":"@react-native-masked-view/masked-view","version":"0.1.11","main":"index.js"}' > node_modules/@react-native-masked-view/masked-view/package.json &&                     printf 'const React=require("react");const {View}=require("react-native");function MaskedView(p){return React.createElement(View,p.style?{style:p.style}:{},p.children);}module.exports=MaskedView;module.exports.default=MaskedView;' > node_modules/@react-native-masked-view/masked-view/index.js;                 fi && 
                export PATH="/app/node_modules/.bin:$PATH" &&                 cd android && 
                chmod +x gradlew && 
                # ---- inject fallback repositories via Gradle init script ----
                mkdir -p $GRADLE_USER_HOME/init.d &&                 echo 'gradle.beforeProject {project ->' > $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  project.buildscript.repositories {' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://maven.google.com"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://repo1.maven.org/maven2"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://plugins.gradle.org/m2/"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://jitpack.io"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  }' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  project.repositories {' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://maven.google.com"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://repo1.maven.org/maven2"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://plugins.gradle.org/m2/"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '    maven {url "https://jitpack.io"}' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '  }' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo '}' >> $GRADLE_USER_HOME/init.d/repos.gradle && 
                # ---- patch settings.gradle to use local react-native CLI (avoids npx failures) ----
                sed -i 's/autolinkLibrariesWithCommand()/autolinkLibrariesWithCommand("node node_modules\/.bin\/react-native config")/' settings.gradle 2>/dev/null || true && 
                # ---- disable Sentry source map upload (no credentials in CI) ----
                export SENTRY_DISABLE_AUTO_UPLOAD=true &&                 echo "sentryUploadEnabled=false" >> gradle.properties 2>/dev/null || true && 
                # ---- enable ABI splits ----
                if grep -q 'splits' app/build.gradle 2>/dev/null; then                     sed -i 's/enable false/enable true/' app/build.gradle || true;                 else                     sed -i '/^android[[:space:]]*{/a\    splits {\n        abi {\n            reset()\n            enable true\n            universalApk false\n            include "armeabi-v7a", "arm64-v8a", "x86", "x86_64"\n        }\n    }' app/build.gradle || true;                 fi && 
                # ---- enable R8 ----
                sed -i 's/enableProguardInReleaseBuilds = false/enableProguardInReleaseBuilds = true/' app/build.gradle || true && 
                # ---- sign release with debug key ----
                sed -i '/buildTypes/,/}/s/release {/release {
            signingConfig signingConfigs.debug/' app/build.gradle || true && 
                # ---- pre-resolve AAR transforms so CMake finds prefab paths ----
                ./gradlew :app:dependencies --configuration releaseCompileClasspath --no-daemon > /dev/null 2>&1 || true && 
                # ---- build release apk ----
                ./gradlew assembleRelease --no-daemon || exit 1 &&                     
                APK_PATH="app/build/outputs/apk/release"

                if ! ls $APK_PATH/*.apk 1> /dev/null 2>&1; then
                    echo "ERROR: APK not generated"
                    exit 1
                fi

                # ---- copy output ----
                cp app/build/outputs/apk/release/*.apk /output/r8/

                # ---- copy TPL metadata ----
                [ -f ../package.json ] && cp ../package.json /output/r8/ || true
                [ -f ../package-lock.json ] && cp ../package-lock.json /output/r8/ || true
                [ -f ../yarn.lock ] && cp ../yarn.lock /output/r8/ || true
                [ -f ../pnpm-lock.yaml ] && cp ../pnpm-lock.yaml /output/r8/ || true
                [ -f app/build.gradle ] && cp app/build.gradle /output/r8/android-build.gradle || true
                [ -f build.gradle ] && cp build.gradle /output/r8/root-build.gradle || true
                [ -f build.gradle.kts ] && cp build.gradle.kts /output/r8/root-build.gradle.kts || true
                [ -f settings.gradle ] && cp settings.gradle /output/r8/ || true
                [ -f settings.gradle.kts ] && cp settings.gradle.kts /output/r8/ || true
                [ -f gradle/libs.versions.toml ] && cp gradle/libs.versions.toml /output/r8/ || true
                find . -name "*.gradle" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/ 2>/dev/null; done || true
                find . -name "*.gradle.kts" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/ 2>/dev/null; done || true
                mkdir -p /output/r8/libs
                find . -name "*.jar" -not -name "gradle-wrapper.jar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true
                find . -name "*.aar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true
                find . -name "*.so" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true
                    

ERROR: Command timed out

> echo Build failed with Node 22 and jdk version 17 with the following error: Command '['docker', 'run', '--rm', '-v', '/home/ubuntu/storage/extracted/upryzing-clerotri/clerotri-ca13abe19b6ca2753bfee550f1310aa2a55209f3:/source:ro', '-v', '/home/ubuntu/BachelorsThesis/scripts/RN/output/upryzing-clerotri:/output', '-v', '/home/ubuntu/.npm:/root/.npm', 'react-android:22-jdk17', 'bash', '-c', '\n                set -e\n\n                cp -r /source/. /app &&                 cd /app && \n                # ---- install deps (yarn or npm) ----\n                if [ -f yarn.lock ]; then\n                    yarn install;\n                else\n                    npm install --ignore-scripts;\n                fi && \n                # ---- stub missing parent package.json (monorepo metro configs) ----\n                [ ! -f ../package.json ] && cp package.json ../package.json 2>/dev/null || true && \n                # ---- patch toReversed (Node <20 compat) ----\n                find node_modules -name "loadConfig.js" -path "*/metro-config/*" -exec sed -i \'s/\\.toReversed()/.slice().reverse()/g\' {} \\; 2>/dev/null || true && \n                # ---- patch missing expo/AppEntry ----\n                if grep -q \'"main".*expo/AppEntry\' package.json 2>/dev/null &&                    [ ! -f node_modules/expo/AppEntry.js ] && [ ! -f node_modules/expo/AppEntry.ts ]; then                     node -e "const fs=require(\'fs\'); const p=JSON.parse(fs.readFileSync(\'package.json\',\'utf8\')); if(fs.existsSync(\'index.js\')){p.main=\'index.js\'; fs.writeFileSync(\'package.json\',JSON.stringify(p,null,2));}" 2>/dev/null || true;                 fi && \n                # ---- patch broken metro config (ESM-only, null-returning, or monorepo-only) ----\n                # NOTE: do NOT replace configs that merely use expo/metro-config — those carry\n                # Expo-specific resolver paths (watchFolders, extraNodeModules) needed for\n                # packages like @react-native-masked-view/masked-view to resolve.\n                if grep -q \'react-native-monorepo-config\' metro.config.js 2>/dev/null ||                    ! node -e "const c=require(\'./metro.config.js\'); if(!c||typeof c!==\'object\') process.exit(1);" 2>/dev/null; then                     if [ -d node_modules/@react-native/metro-config ]; then                         printf \'const {getDefaultConfig, mergeConfig} = require("@react-native/metro-config");\nmodule.exports = mergeConfig(getDefaultConfig(__dirname), {});\n\' > metro.config.js;                     else                         printf \'const {getDefaultConfig} = require("metro-config");\nmodule.exports = getDefaultConfig(__dirname);\n\' > metro.config.js;                     fi;                 fi && \n                # ---- stub missing google-services.json (Firebase/Expo prebuild) ----\n                if [ ! -f google-services.json ]; then                     python3 -c "import json; open(\'google-services.json\',\'w\').write(json.dumps({\'project_info\':{\'project_number\':\'000000000000\',\'project_id\':\'stub\',\'storage_bucket\':\'stub.appspot.com\'},\'client\':[{\'client_info\':{\'mobilesdk_app_id\':\'1:000000000000:android:0000000000000000\',\'android_client_info\':{\'package_name\':\'com.stub\'}},\'oauth_client\':[],\'api_key\':[{\'current_key\':\'stub\'}],\'services\':{\'appinvite_service\':{\'other_platform_oauth_client\':[]}}}],\'configuration_version\':\'1\'}))" 2>/dev/null || true;                 fi && \n                # ---- detect expo ----\n                if grep -q \'"expo"\' package.json && [ ! -d android ]; then\n                    echo "Expo project detected";\n                    CI=1 npx --yes expo prebuild --platform android\n                fi && \n                # ---- fix expo/metro-config: serializer + Flow transformIgnorePatterns ----\n                # Runs AFTER prebuild because prebuild generates metro.config.js for managed-workflow\n                # projects — patching before prebuild would be overwritten by the generated file.\n                # Fix 1: remove customSerializer that returns JS string instead of JSON\n                #   ("var __BUND..." → "Serializer did not return expected format").\n                # Fix 2: add transformIgnorePatterns so expo/src/Expo.ts goes through Babel\n                #   (default pattern excludes all node_modules → raw Flow types → SyntaxError).\n                if [ -f metro.config.js ] && [ -d node_modules/expo ] &&                    ( grep -q \'expo/metro-config\\|@expo/metro-config\' metro.config.js 2>/dev/null ||                      ! grep -q \'transformIgnorePatterns\' metro.config.js 2>/dev/null ); then                     cp metro.config.js metro.config.orig.js &&                     printf \'const c=require("./metro.config.orig.js");const r=Object.assign({},c);if(r.serializer){r.serializer=Object.assign({},r.serializer);delete r.serializer.customSerializer;}r.transformer=Object.assign({},r.transformer||{});if(!r.transformer.transformIgnorePatterns){r.transformer.transformIgnorePatterns=["node_modules/(?!(react-native|@react-native|expo|@expo|@unimodules|react-clone-referenced-element|@react-navigation|native-base)/)"];}module.exports=r;\\n\' > metro.config.js;                 fi && \n                # ---- stub missing metro watchFolders paths ----\n                mkdir -p /src 2>/dev/null || true && \n                # ---- fix babel configs that use react-native-builder-bob ----\n                # builder-bob is a library-dev tool; its getConfig() throws "Couldn\'t determine the source\n                # directory" when built outside the library\'s own workspace. Replace with a standard preset.\n                if grep -ql \'react-native-builder-bob\' babel.config.js babel.config.json .babelrc .babelrc.js 2>/dev/null; then                     if [ -d node_modules/babel-preset-expo ]; then                         printf \'module.exports=function(api){api.cache(true);return{presets:["babel-preset-expo"]};};\n\' > babel.config.js;                     elif [ -d node_modules/@react-native/babel-preset ]; then                         printf \'module.exports={presets:["module:@react-native/babel-preset"]};\' > babel.config.js;                     else                         printf \'module.exports={presets:["module:metro-react-native-babel-preset"]};\' > babel.config.js;                     fi;                 fi && \n                # ---- ensure TypeScript babel support (fixes \'interface\' SyntaxError in metro bundling) ----\n                if [ -d node_modules/babel-preset-expo ]; then                     grep -ql "expo\\|typescript" babel.config.js .babelrc .babelrc.js babel.config.json 2>/dev/null ||                     printf \'module.exports=function(api){api.cache(true);return{presets:["babel-preset-expo"]};};\n\' > babel.config.js;                 fi && \n                # ---- stub missing-asset-registry-path (Metro virtual module not resolved in release) ----\n                # Metro normally aliases this to @react-native/assets-registry/registry at bundle time.\n                # When that alias is missing, any PNG asset in node_modules triggers "Unable to resolve module".\n                if [ ! -d node_modules/missing-asset-registry-path ]; then                     mkdir -p node_modules/missing-asset-registry-path &&                     if [ -f node_modules/@react-native/assets-registry/registry.js ]; then                         printf \'module.exports=require("@react-native/assets-registry/registry");\' > node_modules/missing-asset-registry-path/index.js;                     else                         printf \'module.exports={registerAsset:function(){return 0;},getAssetByID:function(){return null;}};\' > node_modules/missing-asset-registry-path/index.js;                     fi;                 fi && \n                # ---- stub @react-native-masked-view/masked-view if missing ----\n                # Required by @react-navigation/elements but often not installed as a direct dependency.\n                if [ ! -d node_modules/@react-native-masked-view/masked-view ]; then                     mkdir -p node_modules/@react-native-masked-view/masked-view &&                     printf \'{"name":"@react-native-masked-view/masked-view","version":"0.1.11","main":"index.js"}\' > node_modules/@react-native-masked-view/masked-view/package.json &&                     printf \'const React=require("react");const {View}=require("react-native");function MaskedView(p){return React.createElement(View,p.style?{style:p.style}:{},p.children);}module.exports=MaskedView;module.exports.default=MaskedView;\' > node_modules/@react-native-masked-view/masked-view/index.js;                 fi && \n                export PATH="/app/node_modules/.bin:$PATH" &&                 cd android && \n                chmod +x gradlew && \n                # ---- inject fallback repositories via Gradle init script ----\n                mkdir -p $GRADLE_USER_HOME/init.d &&                 echo \'gradle.beforeProject {project ->\' > $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'  project.buildscript.repositories {\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://maven.google.com"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://repo1.maven.org/maven2"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://plugins.gradle.org/m2/"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://jitpack.io"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'  }\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'  project.repositories {\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://maven.google.com"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://repo1.maven.org/maven2"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://plugins.gradle.org/m2/"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://jitpack.io"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'  }\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'}\' >> $GRADLE_USER_HOME/init.d/repos.gradle && \n                # ---- patch settings.gradle to use local react-native CLI (avoids npx failures) ----\n                sed -i \'s/autolinkLibrariesWithCommand()/autolinkLibrariesWithCommand("node node_modules\\/.bin\\/react-native config")/\' settings.gradle 2>/dev/null || true && \n                # ---- disable Sentry source map upload (no credentials in CI) ----\n                export SENTRY_DISABLE_AUTO_UPLOAD=true &&                 echo "sentryUploadEnabled=false" >> gradle.properties 2>/dev/null || true && \n                # ---- enable ABI splits ----\n                if grep -q \'splits\' app/build.gradle 2>/dev/null; then                     sed -i \'s/enable false/enable true/\' app/build.gradle || true;                 else                     sed -i \'/^android[[:space:]]*{/a\\    splits {\\n        abi {\\n            reset()\\n            enable true\\n            universalApk false\\n            include "armeabi-v7a", "arm64-v8a", "x86", "x86_64"\\n        }\\n    }\' app/build.gradle || true;                 fi && \n                # ---- enable R8 ----\n                sed -i \'s/enableProguardInReleaseBuilds = false/enableProguardInReleaseBuilds = true/\' app/build.gradle || true && \n                # ---- sign release with debug key ----\n                sed -i \'/buildTypes/,/}/s/release {/release {\n            signingConfig signingConfigs.debug/\' app/build.gradle || true && \n                # ---- pre-resolve AAR transforms so CMake finds prefab paths ----\n                ./gradlew :app:dependencies --configuration releaseCompileClasspath --no-daemon > /dev/null 2>&1 || true && \n                # ---- build release apk ----\n                ./gradlew assembleRelease --no-daemon || exit 1 &&                     \n                APK_PATH="app/build/outputs/apk/release"\n\n                if ! ls $APK_PATH/*.apk 1> /dev/null 2>&1; then\n                    echo "ERROR: APK not generated"\n                    exit 1\n                fi\n\n                # ---- copy output ----\n                cp app/build/outputs/apk/release/*.apk /output/r8/\n\n                # ---- copy TPL metadata ----\n                [ -f ../package.json ] && cp ../package.json /output/r8/ || true\n                [ -f ../package-lock.json ] && cp ../package-lock.json /output/r8/ || true\n                [ -f ../yarn.lock ] && cp ../yarn.lock /output/r8/ || true\n                [ -f ../pnpm-lock.yaml ] && cp ../pnpm-lock.yaml /output/r8/ || true\n                [ -f app/build.gradle ] && cp app/build.gradle /output/r8/android-build.gradle || true\n                [ -f build.gradle ] && cp build.gradle /output/r8/root-build.gradle || true\n                [ -f build.gradle.kts ] && cp build.gradle.kts /output/r8/root-build.gradle.kts || true\n                [ -f settings.gradle ] && cp settings.gradle /output/r8/ || true\n                [ -f settings.gradle.kts ] && cp settings.gradle.kts /output/r8/ || true\n                [ -f gradle/libs.versions.toml ] && cp gradle/libs.versions.toml /output/r8/ || true\n                find . -name "*.gradle" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/ 2>/dev/null; done || true\n                find . -name "*.gradle.kts" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/ 2>/dev/null; done || true\n                mkdir -p /output/r8/libs\n                find . -name "*.jar" -not -name "gradle-wrapper.jar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true\n                find . -name "*.aar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true\n                find . -name "*.so" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true\n                    ']' timed out after 7200 seconds
Build failed with Node 22 and jdk version 17 with the following error: Command '['docker', 'run', '--rm', '-v', '/home/ubuntu/storage/extracted/upryzing-clerotri/clerotri-ca13abe19b6ca2753bfee550f1310aa2a55209f3:/source:ro', '-v', '/home/ubuntu/BachelorsThesis/scripts/RN/output/upryzing-clerotri:/output', '-v', '/home/ubuntu/.npm:/root/.npm', 'react-android:22-jdk17', 'bash', '-c', '\n                set -e\n\n                cp -r /source/. /app &&                 cd /app && \n                # ---- install deps (yarn or npm) ----\n                if [ -f yarn.lock ]; then\n                    yarn install;\n                else\n                    npm install --ignore-scripts;\n                fi && \n                # ---- stub missing parent package.json (monorepo metro configs) ----\n                [ ! -f ../package.json ] && cp package.json ../package.json 2>/dev/null || true && \n                # ---- patch toReversed (Node <20 compat) ----\n                find node_modules -name "loadConfig.js" -path "*/metro-config/*" -exec sed -i \'s/\\.toReversed()/.slice().reverse()/g\' {} \\; 2>/dev/null || true && \n                # ---- patch missing expo/AppEntry ----\n                if grep -q \'"main".*expo/AppEntry\' package.json 2>/dev/null &&                    [ ! -f node_modules/expo/AppEntry.js ] && [ ! -f node_modules/expo/AppEntry.ts ]; then                     node -e "const fs=require(\'fs\'); const p=JSON.parse(fs.readFileSync(\'package.json\',\'utf8\')); if(fs.existsSync(\'index.js\')){p.main=\'index.js\'; fs.writeFileSync(\'package.json\',JSON.stringify(p,null,2));}" 2>/dev/null || true;                 fi && \n                # ---- patch broken metro config (ESM-only, null-returning, or monorepo-only) ----\n                # NOTE: do NOT replace configs that merely use expo/metro-config — those carry\n                # Expo-specific resolver paths (watchFolders, extraNodeModules) needed for\n                # packages like @react-native-masked-view/masked-view to resolve.\n                if grep -q \'react-native-monorepo-config\' metro.config.js 2>/dev/null ||                    ! node -e "const c=require(\'./metro.config.js\'); if(!c||typeof c!==\'object\') process.exit(1);" 2>/dev/null; then                     if [ -d node_modules/@react-native/metro-config ]; then                         printf \'const {getDefaultConfig, mergeConfig} = require("@react-native/metro-config");\nmodule.exports = mergeConfig(getDefaultConfig(__dirname), {});\n\' > metro.config.js;                     else                         printf \'const {getDefaultConfig} = require("metro-config");\nmodule.exports = getDefaultConfig(__dirname);\n\' > metro.config.js;                     fi;                 fi && \n                # ---- stub missing google-services.json (Firebase/Expo prebuild) ----\n                if [ ! -f google-services.json ]; then                     python3 -c "import json; open(\'google-services.json\',\'w\').write(json.dumps({\'project_info\':{\'project_number\':\'000000000000\',\'project_id\':\'stub\',\'storage_bucket\':\'stub.appspot.com\'},\'client\':[{\'client_info\':{\'mobilesdk_app_id\':\'1:000000000000:android:0000000000000000\',\'android_client_info\':{\'package_name\':\'com.stub\'}},\'oauth_client\':[],\'api_key\':[{\'current_key\':\'stub\'}],\'services\':{\'appinvite_service\':{\'other_platform_oauth_client\':[]}}}],\'configuration_version\':\'1\'}))" 2>/dev/null || true;                 fi && \n                # ---- detect expo ----\n                if grep -q \'"expo"\' package.json && [ ! -d android ]; then\n                    echo "Expo project detected";\n                    CI=1 npx --yes expo prebuild --platform android\n                fi && \n                # ---- fix expo/metro-config: serializer + Flow transformIgnorePatterns ----\n                # Runs AFTER prebuild because prebuild generates metro.config.js for managed-workflow\n                # projects — patching before prebuild would be overwritten by the generated file.\n                # Fix 1: remove customSerializer that returns JS string instead of JSON\n                #   ("var __BUND..." → "Serializer did not return expected format").\n                # Fix 2: add transformIgnorePatterns so expo/src/Expo.ts goes through Babel\n                #   (default pattern excludes all node_modules → raw Flow types → SyntaxError).\n                if [ -f metro.config.js ] && [ -d node_modules/expo ] &&                    ( grep -q \'expo/metro-config\\|@expo/metro-config\' metro.config.js 2>/dev/null ||                      ! grep -q \'transformIgnorePatterns\' metro.config.js 2>/dev/null ); then                     cp metro.config.js metro.config.orig.js &&                     printf \'const c=require("./metro.config.orig.js");const r=Object.assign({},c);if(r.serializer){r.serializer=Object.assign({},r.serializer);delete r.serializer.customSerializer;}r.transformer=Object.assign({},r.transformer||{});if(!r.transformer.transformIgnorePatterns){r.transformer.transformIgnorePatterns=["node_modules/(?!(react-native|@react-native|expo|@expo|@unimodules|react-clone-referenced-element|@react-navigation|native-base)/)"];}module.exports=r;\\n\' > metro.config.js;                 fi && \n                # ---- stub missing metro watchFolders paths ----\n                mkdir -p /src 2>/dev/null || true && \n                # ---- fix babel configs that use react-native-builder-bob ----\n                # builder-bob is a library-dev tool; its getConfig() throws "Couldn\'t determine the source\n                # directory" when built outside the library\'s own workspace. Replace with a standard preset.\n                if grep -ql \'react-native-builder-bob\' babel.config.js babel.config.json .babelrc .babelrc.js 2>/dev/null; then                     if [ -d node_modules/babel-preset-expo ]; then                         printf \'module.exports=function(api){api.cache(true);return{presets:["babel-preset-expo"]};};\n\' > babel.config.js;                     elif [ -d node_modules/@react-native/babel-preset ]; then                         printf \'module.exports={presets:["module:@react-native/babel-preset"]};\' > babel.config.js;                     else                         printf \'module.exports={presets:["module:metro-react-native-babel-preset"]};\' > babel.config.js;                     fi;                 fi && \n                # ---- ensure TypeScript babel support (fixes \'interface\' SyntaxError in metro bundling) ----\n                if [ -d node_modules/babel-preset-expo ]; then                     grep -ql "expo\\|typescript" babel.config.js .babelrc .babelrc.js babel.config.json 2>/dev/null ||                     printf \'module.exports=function(api){api.cache(true);return{presets:["babel-preset-expo"]};};\n\' > babel.config.js;                 fi && \n                # ---- stub missing-asset-registry-path (Metro virtual module not resolved in release) ----\n                # Metro normally aliases this to @react-native/assets-registry/registry at bundle time.\n                # When that alias is missing, any PNG asset in node_modules triggers "Unable to resolve module".\n                if [ ! -d node_modules/missing-asset-registry-path ]; then                     mkdir -p node_modules/missing-asset-registry-path &&                     if [ -f node_modules/@react-native/assets-registry/registry.js ]; then                         printf \'module.exports=require("@react-native/assets-registry/registry");\' > node_modules/missing-asset-registry-path/index.js;                     else                         printf \'module.exports={registerAsset:function(){return 0;},getAssetByID:function(){return null;}};\' > node_modules/missing-asset-registry-path/index.js;                     fi;                 fi && \n                # ---- stub @react-native-masked-view/masked-view if missing ----\n                # Required by @react-navigation/elements but often not installed as a direct dependency.\n                if [ ! -d node_modules/@react-native-masked-view/masked-view ]; then                     mkdir -p node_modules/@react-native-masked-view/masked-view &&                     printf \'{"name":"@react-native-masked-view/masked-view","version":"0.1.11","main":"index.js"}\' > node_modules/@react-native-masked-view/masked-view/package.json &&                     printf \'const React=require("react");const {View}=require("react-native");function MaskedView(p){return React.createElement(View,p.style?{style:p.style}:{},p.children);}module.exports=MaskedView;module.exports.default=MaskedView;\' > node_modules/@react-native-masked-view/masked-view/index.js;                 fi && \n                export PATH="/app/node_modules/.bin:$PATH" &&                 cd android && \n                chmod +x gradlew && \n                # ---- inject fallback repositories via Gradle init script ----\n                mkdir -p $GRADLE_USER_HOME/init.d &&                 echo \'gradle.beforeProject {project ->\' > $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'  project.buildscript.repositories {\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://maven.google.com"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://repo1.maven.org/maven2"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://plugins.gradle.org/m2/"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://jitpack.io"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'  }\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'  project.repositories {\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://maven.google.com"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://repo1.maven.org/maven2"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://plugins.gradle.org/m2/"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'    maven {url "https://jitpack.io"}\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'  }\' >> $GRADLE_USER_HOME/init.d/repos.gradle &&                 echo \'}\' >> $GRADLE_USER_HOME/init.d/repos.gradle && \n                # ---- patch settings.gradle to use local react-native CLI (avoids npx failures) ----\n                sed -i \'s/autolinkLibrariesWithCommand()/autolinkLibrariesWithCommand("node node_modules\\/.bin\\/react-native config")/\' settings.gradle 2>/dev/null || true && \n                # ---- disable Sentry source map upload (no credentials in CI) ----\n                export SENTRY_DISABLE_AUTO_UPLOAD=true &&                 echo "sentryUploadEnabled=false" >> gradle.properties 2>/dev/null || true && \n                # ---- enable ABI splits ----\n                if grep -q \'splits\' app/build.gradle 2>/dev/null; then                     sed -i \'s/enable false/enable true/\' app/build.gradle || true;                 else                     sed -i \'/^android[[:space:]]*{/a\\    splits {\\n        abi {\\n            reset()\\n            enable true\\n            universalApk false\\n            include "armeabi-v7a", "arm64-v8a", "x86", "x86_64"\\n        }\\n    }\' app/build.gradle || true;                 fi && \n                # ---- enable R8 ----\n                sed -i \'s/enableProguardInReleaseBuilds = false/enableProguardInReleaseBuilds = true/\' app/build.gradle || true && \n                # ---- sign release with debug key ----\n                sed -i \'/buildTypes/,/}/s/release {/release {\n            signingConfig signingConfigs.debug/\' app/build.gradle || true && \n                # ---- pre-resolve AAR transforms so CMake finds prefab paths ----\n                ./gradlew :app:dependencies --configuration releaseCompileClasspath --no-daemon > /dev/null 2>&1 || true && \n                # ---- build release apk ----\n                ./gradlew assembleRelease --no-daemon || exit 1 &&                     \n                APK_PATH="app/build/outputs/apk/release"\n\n                if ! ls $APK_PATH/*.apk 1> /dev/null 2>&1; then\n                    echo "ERROR: APK not generated"\n                    exit 1\n                fi\n\n                # ---- copy output ----\n                cp app/build/outputs/apk/release/*.apk /output/r8/\n\n                # ---- copy TPL metadata ----\n                [ -f ../package.json ] && cp ../package.json /output/r8/ || true\n                [ -f ../package-lock.json ] && cp ../package-lock.json /output/r8/ || true\n                [ -f ../yarn.lock ] && cp ../yarn.lock /output/r8/ || true\n                [ -f ../pnpm-lock.yaml ] && cp ../pnpm-lock.yaml /output/r8/ || true\n                [ -f app/build.gradle ] && cp app/build.gradle /output/r8/android-build.gradle || true\n                [ -f build.gradle ] && cp build.gradle /output/r8/root-build.gradle || true\n                [ -f build.gradle.kts ] && cp build.gradle.kts /output/r8/root-build.gradle.kts || true\n                [ -f settings.gradle ] && cp settings.gradle /output/r8/ || true\n                [ -f settings.gradle.kts ] && cp settings.gradle.kts /output/r8/ || true\n                [ -f gradle/libs.versions.toml ] && cp gradle/libs.versions.toml /output/r8/ || true\n                find . -name "*.gradle" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/ 2>/dev/null; done || true\n                find . -name "*.gradle.kts" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/ 2>/dev/null; done || true\n                mkdir -p /output/r8/libs\n                find . -name "*.jar" -not -name "gradle-wrapper.jar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true\n                find . -name "*.aar" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true\n                find . -name "*.so" 2>/dev/null | grep -v "/build/" | grep -v "/.gradle/" | grep -v "/node_modules/" | while read f; do cp "$f" /output/r8/libs/ 2>/dev/null; done || true\n                    ']' timed out after 7200 seconds
